Mako 8.2.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
PValue Class Reference

Stores a "property" value that is tagged with an enumeration value that indicates the underlying type. More...

#include <edl/edlproperty.h>

Public Types

enum  PValueType {
  T_UNASSIGNED , T_BOOL , T_INT , T_DECIMAL ,
  T_STRING , T_POINTER , T_TIME , T_QNAME ,
  T_OBJECT , T_STRINGVECT
}
 Value types for metadata entries. More...

Public Member Functions

 PValue ()
 PValue (int32 i, const int variant=0)
 PValue (uint32 ui, const int variant=0)
 PValue (const EDLString &s, const int variant=0)
 PValue (const EDLSysString &s, const int variant=0)
 PValue (const wchar_t *s, const int variant=0)
 PValue (const char *s, const int variant=0)
 PValue (const CEDLStringVect &v, const int variant=0)
 PValue (const CEDLSysStringVect &v, const int variant=0)
 PValue (void *p, const int variant=0)
 PValue (const IEDLTimePtr &ptrTime, const int variant=0)
 PValue (const EDLQName &qn, const int variant=0)
 PValue (const IRCObjectPtr &object, const int variant=0)
 PValue (double d, const int variant=0)
 PValue (bool b, const int variant=0)
 PValue (const PValue &another)
 ~PValue ()
enum PValueType getType () const
int getVariant () const
const PValueoperator= (const PValue &another)
bool isEmpty () const
EDLString getString () const
EDLSysString getSysString () const
CEDLStringVect getStringVect () const
CEDLSysStringVect getSysStringVect () const
bool getBool () const
int32 getInt32 () const
double getDecimal () const
void * getPointer () const
IEDLTimePtr getTime () const
EDLQName getQName () const
IEDLObjectPtr getObject () const
IRCObjectPtr getRCObject () const
bool operator== (const PValue &another)
bool operator!= (const PValue &another)

Detailed Description

Stores a "property" value that is tagged with an enumeration value that indicates the underlying type.

Member Enumeration Documentation

◆ PValueType

Value types for metadata entries.

Enumerator
T_UNASSIGNED 

Unassigned.

T_BOOL 

Boolean.

T_INT 

Integer.

T_DECIMAL 

Floating point.

T_STRING 

String.

T_POINTER 

Pointer type.

T_TIME 

Time value.

T_QNAME 

Qualified name.

T_OBJECT 

Object.

T_STRINGVECT 

Multiple strings.

Constructor & Destructor Documentation

◆ PValue() [1/16]

PValue::PValue ( )
inline

◆ PValue() [2/16]

PValue::PValue ( int32 i,
const int variant = 0 )
inline

◆ PValue() [3/16]

PValue::PValue ( uint32 ui,
const int variant = 0 )
inline

◆ PValue() [4/16]

PValue::PValue ( const EDLString & s,
const int variant = 0 )
inline

◆ PValue() [5/16]

PValue::PValue ( const EDLSysString & s,
const int variant = 0 )
inline

◆ PValue() [6/16]

PValue::PValue ( const wchar_t * s,
const int variant = 0 )
inlineexplicit

◆ PValue() [7/16]

PValue::PValue ( const char * s,
const int variant = 0 )
inlineexplicit

◆ PValue() [8/16]

PValue::PValue ( const CEDLStringVect & v,
const int variant = 0 )
inline

◆ PValue() [9/16]

PValue::PValue ( const CEDLSysStringVect & v,
const int variant = 0 )
inline

◆ PValue() [10/16]

PValue::PValue ( void * p,
const int variant = 0 )
inline

◆ PValue() [11/16]

PValue::PValue ( const IEDLTimePtr & ptrTime,
const int variant = 0 )
inline

◆ PValue() [12/16]

PValue::PValue ( const EDLQName & qn,
const int variant = 0 )
inline

◆ PValue() [13/16]

PValue::PValue ( const IRCObjectPtr & object,
const int variant = 0 )
inline

◆ PValue() [14/16]

PValue::PValue ( double d,
const int variant = 0 )
inline

◆ PValue() [15/16]

PValue::PValue ( bool b,
const int variant = 0 )
inline

◆ PValue() [16/16]

PValue::PValue ( const PValue & another)
inline

◆ ~PValue()

PValue::~PValue ( )
inline

Member Function Documentation

◆ getBool()

bool PValue::getBool ( ) const
inline

◆ getDecimal()

double PValue::getDecimal ( ) const
inline

◆ getInt32()

int32 PValue::getInt32 ( ) const
inline

◆ getObject()

IEDLObjectPtr PValue::getObject ( ) const
inline

◆ getPointer()

void * PValue::getPointer ( ) const
inline

◆ getQName()

EDLQName PValue::getQName ( ) const
inline

◆ getRCObject()

IRCObjectPtr PValue::getRCObject ( ) const
inline

◆ getString()

EDLString PValue::getString ( ) const
inline

◆ getStringVect()

CEDLStringVect PValue::getStringVect ( ) const
inline

◆ getSysString()

EDLSysString PValue::getSysString ( ) const
inline

◆ getSysStringVect()

CEDLSysStringVect PValue::getSysStringVect ( ) const
inline

◆ getTime()

IEDLTimePtr PValue::getTime ( ) const
inline

◆ getType()

enum PValueType PValue::getType ( ) const
inline

◆ getVariant()

int PValue::getVariant ( ) const
inline

◆ isEmpty()

bool PValue::isEmpty ( ) const
inline

◆ operator!=()

bool PValue::operator!= ( const PValue & another)
inline

◆ operator=()

const PValue & PValue::operator= ( const PValue & another)
inline

◆ operator==()

bool PValue::operator== ( const PValue & another)
inline

Member Data Documentation

◆ boolean

bool PValue::boolean

◆ decimalVal

double PValue::decimalVal

◆ integer

int32 PValue::integer

◆ pointer

void* PValue::pointer

◆ qname

EDLQName* PValue::qname

◆ stringVal

EDLString* PValue::stringVal

◆ stringVect

CEDLStringVect* PValue::stringVect

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