Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
plang::ExprValue Class Reference
+ Collaboration diagram for plang::ExprValue:

Public Types

enum  CppType {
  CPPTYPE_INT32 = 1, CPPTYPE_INT64 = 2, CPPTYPE_UINT32 = 3, CPPTYPE_UINT64 = 4,
  CPPTYPE_DOUBLE = 5, CPPTYPE_FLOAT = 6, CPPTYPE_BOOL = 7, CPPTYPE_ENUM = 8,
  CPPTYPE_STRING = 9, CPPTYPE_MESSAGE = 10, MAX_CPPTYPE = 10
}
 

Public Member Functions

 ExprValue (CppType t)
 
 ExprValue (StringPiece str)
 
 ExprValue (const gpb::EnumValueDescriptor *eval)
 
bool Equal (const ExprValue &other) const
 
bool Less (const ExprValue &other) const
 
bool RLike (const ExprValue &other) const
 

Static Public Member Functions

static ExprValue fromInt (int64 ival)
 
static ExprValue fromUInt (uint64 val)
 
static ExprValue fromBool (bool b)
 
static ExprValue fromDouble (double d)
 

Public Attributes

ExprValueUnion val
 
CppType type
 

Detailed Description

Definition at line 36 of file plang.h.


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