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 ()=default
 
 Value (const char *value)
 
 Value (UT_StringRef const &value)
 
 Value (fpreal64 value)
 
 Value (int64 value)
 
 Value (bool value)
 
 Value (HVersion value)
 
hboost::any constvalue () const
 
void set (const char *value)
 
void set (fpreal64 value)
 
void set (int64 value)
 
void set (bool value)
 
void set (HVersion value)
 
UT_StringHolder toString () const
 
UT_WorkBuffer toWorkBuffer () const
 
template<typename T >
T constget () 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 474 of file UT_PackageUtils.h.

Member Typedef Documentation

Definition at line 477 of file UT_PackageUtils.h.

Constructor & Destructor Documentation

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

Definition at line 482 of file UT_PackageUtils.h.

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

Definition at line 490 of file UT_PackageUtils.h.

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

Definition at line 498 of file UT_PackageUtils.h.

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

Definition at line 503 of file UT_PackageUtils.h.

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

Definition at line 508 of file UT_PackageUtils.h.

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

Definition at line 513 of file UT_PackageUtils.h.

Member Function Documentation

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

Definition at line 585 of file UT_PackageUtils.h.

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

Definition at line 591 of file UT_PackageUtils.h.

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

Definition at line 601 of file UT_PackageUtils.h.

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

Definition at line 652 of file UT_PackageUtils.h.

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

Definition at line 684 of file UT_PackageUtils.h.

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

Definition at line 689 of file UT_PackageUtils.h.

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

Definition at line 721 of file UT_PackageUtils.h.

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

Definition at line 523 of file UT_PackageUtils.h.

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

Definition at line 531 of file UT_PackageUtils.h.

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

Definition at line 536 of file UT_PackageUtils.h.

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

Definition at line 541 of file UT_PackageUtils.h.

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

Definition at line 546 of file UT_PackageUtils.h.

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

Definition at line 727 of file UT_PackageUtils.h.

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

Definition at line 551 of file UT_PackageUtils.h.

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

Definition at line 556 of file UT_PackageUtils.h.

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

Definition at line 596 of file UT_PackageUtils.h.

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

Definition at line 518 of file UT_PackageUtils.h.


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