proxygen
folly::dynamic::ObjectMaker Struct Reference

#include <dynamic-inl.h>

Public Member Functions

 ObjectMaker ()
 
 ObjectMaker (dynamic key, dynamic val)
 
 ObjectMaker (ObjectMaker &&)=default
 
 ObjectMaker (ObjectMaker const &)=delete
 
ObjectMakeroperator= (ObjectMaker const &)=delete
 
ObjectMakeroperator= (ObjectMaker &&)=delete
 
ObjectMaker && operator() (dynamic key, dynamic val)
 

Private Attributes

dynamic val_
 

Friends

struct dynamic
 

Detailed Description

Definition at line 206 of file dynamic-inl.h.

Constructor & Destructor Documentation

folly::dynamic::ObjectMaker::ObjectMaker ( )
inlineexplicit

Definition at line 209 of file dynamic-inl.h.

209 : val_(dynamic::object) {}
static ObjectMaker object()
Definition: dynamic-inl.h:240
folly::dynamic::ObjectMaker::ObjectMaker ( dynamic  key,
dynamic  val 
)
inlineexplicit

Definition at line 210 of file dynamic-inl.h.

References folly::gen::move.

210  : val_(dynamic::object) {
212  }
static ObjectMaker object()
Definition: dynamic-inl.h:240
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
double val
Definition: String.cpp:273
void insert(K &&, V &&val)
Definition: dynamic-inl.h:853
folly::dynamic::ObjectMaker::ObjectMaker ( ObjectMaker &&  )
default
folly::dynamic::ObjectMaker::ObjectMaker ( ObjectMaker const &  )
delete

Member Function Documentation

ObjectMaker&& folly::dynamic::ObjectMaker::operator() ( dynamic  key,
dynamic  val 
)
inline

Definition at line 224 of file dynamic-inl.h.

References folly::gen::move.

224  {
226  return std::move(*this);
227  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
double val
Definition: String.cpp:273
void insert(K &&, V &&val)
Definition: dynamic-inl.h:853
ObjectMaker& folly::dynamic::ObjectMaker::operator= ( ObjectMaker const &  )
delete
ObjectMaker& folly::dynamic::ObjectMaker::operator= ( ObjectMaker &&  )
delete

Friends And Related Function Documentation

friend struct dynamic
friend

Definition at line 207 of file dynamic-inl.h.

Member Data Documentation

dynamic folly::dynamic::ObjectMaker::val_
private

Definition at line 230 of file dynamic-inl.h.


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