HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Package::utils::Value Class Reference

#include <UT_PackageUtils.h>

Public Types

using Array = UT_Array< Value >
 

Public Member Functions

 Value ()=default
 
 Value (const char *value)
 
 Value (UT_StringRef const &value)
 
 Value (fpreal64 value)
 
 Value (int64 value)
 
 Value (bool value)
 
 Value (HVersion value)
 
 Value (PYVersion value)
 
 Value (HPlatformBuildVersion value)
 
hboost::any const & value () const
 
void set (const char *value)
 
void set (fpreal64 value)
 
void set (int64 value)
 
void set (bool value)
 
void set (HVersion value)
 
void set (PYVersion value)
 
void set (HPlatformBuildVersion value)
 
UT_StringHolder toString () const
 
UT_WorkBuffer toWorkBuffer () const
 
template<typename T >
T const & get () const
 
template<typename T >
bool isA () const
 
bool valid () const
 
bool isEqual (utils::Value const &other, bool ignore_case=false) const
 
bool isGreater (utils::Value const &other) const
 
bool isGreaterEqual (utils::Value const &other) const
 
bool isLess (utils::Value const &other) const
 
bool isLessEqual (utils::Value const &other) const
 
bool substitute (char const *find, char const *replace_with)
 

Detailed Description

Definition at line 543 of file UT_PackageUtils.h.

Member Typedef Documentation

Definition at line 546 of file UT_PackageUtils.h.

Constructor & Destructor Documentation

UT_Package::utils::Value::Value ( )
default
UT_Package::utils::Value::Value ( const char *  value)
inlineexplicit

Definition at line 550 of file UT_PackageUtils.h.

UT_Package::utils::Value::Value ( UT_StringRef const &  value)
inlineexplicit

Definition at line 555 of file UT_PackageUtils.h.

UT_Package::utils::Value::Value ( fpreal64  value)
inlineexplicit

Definition at line 567 of file UT_PackageUtils.h.

UT_Package::utils::Value::Value ( int64  value)
inlineexplicit

Definition at line 572 of file UT_PackageUtils.h.

UT_Package::utils::Value::Value ( bool  value)
inlineexplicit

Definition at line 577 of file UT_PackageUtils.h.

UT_Package::utils::Value::Value ( HVersion  value)
inlineexplicit

Definition at line 582 of file UT_PackageUtils.h.

UT_Package::utils::Value::Value ( PYVersion  value)
inlineexplicit

Definition at line 587 of file UT_PackageUtils.h.

UT_Package::utils::Value::Value ( HPlatformBuildVersion  value)
inlineexplicit

Definition at line 592 of file UT_PackageUtils.h.

Member Function Documentation

template<typename T >
T const& UT_Package::utils::Value::get ( ) const
inline

Definition at line 692 of file UT_PackageUtils.h.

template<typename T >
bool UT_Package::utils::Value::isA ( ) const
inline

Definition at line 698 of file UT_PackageUtils.h.

bool UT_Package::utils::Value::isEqual ( utils::Value const &  other,
bool  ignore_case = false 
) const
inline

Definition at line 708 of file UT_PackageUtils.h.

bool UT_Package::utils::Value::isGreater ( utils::Value const &  other) const
inline

Definition at line 793 of file UT_PackageUtils.h.

bool UT_Package::utils::Value::isGreaterEqual ( utils::Value const &  other) const
inline

Definition at line 859 of file UT_PackageUtils.h.

bool UT_Package::utils::Value::isLess ( utils::Value const &  other) const
inline

Definition at line 864 of file UT_PackageUtils.h.

bool UT_Package::utils::Value::isLessEqual ( utils::Value const &  other) const
inline

Definition at line 930 of file UT_PackageUtils.h.

void UT_Package::utils::Value::set ( const char *  value)
inline

Definition at line 602 of file UT_PackageUtils.h.

void UT_Package::utils::Value::set ( fpreal64  value)
inline

Definition at line 614 of file UT_PackageUtils.h.

void UT_Package::utils::Value::set ( int64  value)
inline

Definition at line 619 of file UT_PackageUtils.h.

void UT_Package::utils::Value::set ( bool  value)
inline

Definition at line 624 of file UT_PackageUtils.h.

void UT_Package::utils::Value::set ( HVersion  value)
inline

Definition at line 629 of file UT_PackageUtils.h.

void UT_Package::utils::Value::set ( PYVersion  value)
inline

Definition at line 634 of file UT_PackageUtils.h.

void UT_Package::utils::Value::set ( HPlatformBuildVersion  value)
inline

Definition at line 639 of file UT_PackageUtils.h.

bool UT_Package::utils::Value::substitute ( char const *  find,
char const *  replace_with 
)
inline

Definition at line 936 of file UT_PackageUtils.h.

UT_StringHolder UT_Package::utils::Value::toString ( ) const
inline

Definition at line 644 of file UT_PackageUtils.h.

UT_WorkBuffer UT_Package::utils::Value::toWorkBuffer ( ) const
inline

Definition at line 649 of file UT_PackageUtils.h.

bool UT_Package::utils::Value::valid ( ) const
inline

Definition at line 703 of file UT_PackageUtils.h.

hboost::any const& UT_Package::utils::Value::value ( ) const
inline

Definition at line 597 of file UT_PackageUtils.h.


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