C++ YT Wrapper
C++ library for working with YT clusters
Loading...
Searching...
No Matches
NYT::TFluentYsonBuilder::TMapType< TParent > Class Template Reference

Fluent adapter of map fragment (the inside part of a map). More...

#include <fluent.h>

Inheritance diagram for NYT::TFluentYsonBuilder::TMapType< TParent >:
NYT::TFluentYsonBuilder::TFluentFragmentBase< TMapType, TFluentYsonVoid > NYT::TFluentYsonBuilder::TFluentBase< TFluentYsonVoid >

Public Types

using TThis = TMapType<TParent>
using TUnwrappedParent = typename TFluentYsonUnwrapper<TParent>::TUnwrapped
Public Types inherited from NYT::TFluentYsonBuilder::TFluentFragmentBase< TMapType, TFluentYsonVoid >
using TDeepThis
using TShallowThis
using TUnwrappedParent

Public Member Functions

 TMapType (NYT::NYson::IYsonConsumer *consumer, TParent parent=TParent())
template<size_t Size>
TAny< TThis > Item (const char(&key)[Size])
 Pass map key to underlying consumer.
TAny< TThis > Item (const TStringBuf &key)
 Pass map key to underlying consumer.
TUnwrappedParent EndMap ()
 Close the map.
Public Member Functions inherited from NYT::TFluentYsonBuilder::TFluentFragmentBase< TMapType, TFluentYsonVoid >
 TFluentFragmentBase (NYT::NYson::IYsonConsumer *consumer, TFluentYsonVoid parent=TFluentYsonVoid())
TDeepThis & Do (const TFunc &func)
 Delegate invocation to a separate procedure.
TDeepThis & DoIf (bool condition, const TFunc &func)
 Conditionally delegate invocation to a separate procedure.
TDeepThis & DoFor (const TIterator &begin, const TIterator &end, const TFunc &func)
 Calls func(*this, element) for each element in range [begin, end).
Public Member Functions inherited from NYT::TFluentYsonBuilder::TFluentBase< TFluentYsonVoid >
 operator NYT::NYson::IYsonConsumer * () const
 Implicit conversion to yson consumer.

Detailed Description

template<class TParent = TFluentYsonVoid>
class NYT::TFluentYsonBuilder::TMapType< TParent >

Fluent adapter of map fragment (the inside part of a map).


The documentation for this class was generated from the following file: