HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PDGT_ValueArgs Class Reference

#include <PDGT_ValueArgs.h>

Public Types

using Args = UT_Array< PDGT_Value >
 
using KWArgs = UT_ArrayStringMap< PDGT_Value >
 

Public Member Functions

 PDGT_ValueArgs ()
 
int64 getMemoryUsage (bool inclusive) const
 
int size () const
 
int argSize () const
 
int kwargSize () const
 
UT_StringHolder description (bool enclosed=false) const
 
const Argsargs () const
 
const KWArgskwargs () const
 
void addArg (const PDGT_Value &value)
 
void addKWArg (const UT_StringHolder &key, const PDGT_Value &value)
 
template<typename First , typename... Rest>
void addArgs (First value, Rest...rest)
 
template<typename First >
void addArgs (First value)
 
template<typename First , typename... Rest>
void addKWArgs (const UT_StringHolder &key, First value, Rest...rest)
 
template<typename First >
void addKWArgs (const UT_StringHolder &key, First value)
 

Detailed Description

Definition at line 21 of file PDGT_ValueArgs.h.

Member Typedef Documentation

Definition at line 24 of file PDGT_ValueArgs.h.

Constructor & Destructor Documentation

PDGT_ValueArgs::PDGT_ValueArgs ( )

Member Function Documentation

void PDGT_ValueArgs::addArg ( const PDGT_Value value)
template<typename First , typename... Rest>
void PDGT_ValueArgs::addArgs ( First  value,
Rest...  rest 
)
inline

Definition at line 46 of file PDGT_ValueArgs.h.

template<typename First >
void PDGT_ValueArgs::addArgs ( First  value)
inline

Definition at line 53 of file PDGT_ValueArgs.h.

void PDGT_ValueArgs::addKWArg ( const UT_StringHolder key,
const PDGT_Value value 
)
template<typename First , typename... Rest>
void PDGT_ValueArgs::addKWArgs ( const UT_StringHolder key,
First  value,
Rest...  rest 
)
inline

Definition at line 57 of file PDGT_ValueArgs.h.

template<typename First >
void PDGT_ValueArgs::addKWArgs ( const UT_StringHolder key,
First  value 
)
inline

Definition at line 66 of file PDGT_ValueArgs.h.

const Args& PDGT_ValueArgs::args ( ) const
int PDGT_ValueArgs::argSize ( ) const
UT_StringHolder PDGT_ValueArgs::description ( bool  enclosed = false) const
int64 PDGT_ValueArgs::getMemoryUsage ( bool  inclusive) const
const KWArgs& PDGT_ValueArgs::kwargs ( ) const
int PDGT_ValueArgs::kwargSize ( ) const
int PDGT_ValueArgs::size ( ) const

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