|
C++ YT Wrapper
C++ library for working with YT clusters
|
Base class for fluent adapters for fragment of list, map or attributes. More...
#include <fluent.h>
Public Types | |
| using | TDeepThis = TThis<TParent> |
| using | TShallowThis = TThis<TFluentYsonVoid> |
| using | TUnwrappedParent = typename TFluentYsonUnwrapper<TParent>::TUnwrapped |
Public Member Functions | |
| TFluentFragmentBase (NYT::NYson::IYsonConsumer *consumer, TParent parent=TParent()) | |
| template<class TFunc> | |
| TDeepThis & | Do (const TFunc &func) |
| Delegate invocation to a separate procedure. | |
| template<class TFunc> | |
| TDeepThis & | DoIf (bool condition, const TFunc &func) |
| Conditionally delegate invocation to a separate procedure. | |
| template<class TFunc, class TIterator> | |
| TDeepThis & | DoFor (const TIterator &begin, const TIterator &end, const TFunc &func) |
| Calls func(*this, element) for each element in range [begin, end). | |
| template<class TFunc, class TCollection> | |
| TDeepThis & | DoFor (const TCollection &collection, const TFunc &func) |
| Calls func(*this, element) for each element in collection. | |
| Public Member Functions inherited from NYT::TFluentYsonBuilder::TFluentBase< TParent > | |
| operator NYT::NYson::IYsonConsumer * () const | |
| Implicit conversion to yson consumer. | |
Base class for fluent adapters for fragment of list, map or attributes.