libutil++  1.9.3
 All Classes Functions Variables
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
sella::variant::Nullable Class Referenceabstract
Inheritance diagram for sella::variant::Nullable:
sella::variant::Binary sella::variant::Boolean sella::variant::Date sella::variant::Double sella::variant::Interval sella::variant::IPAddress sella::variant::IPPrefix sella::variant::Null sella::variant::Object sella::variant::Pointer sella::variant::Signed sella::variant::String sella::variant::Time sella::variant::TimeStamp sella::variant::Unsigned sella::variant::UUID sella::variant::Vector

Public Types

typedef std::shared_ptr< Nullableshared
 

Public Member Functions

 Nullable (std::shared_ptr< void > &value) throw ()
 
 Nullable (std::shared_ptr< void > &&value) throw ()
 
 Nullable (const Nullable &other)=delete throw ()
 
Nullableoperator= (const Nullable &other)=delete throw ()
 
virtual void shrink_to_fit () throw ()
 
virtual std::string str (int type) const =0 throw ()
 
virtual int getType (void)=0 throw ()
 
virtual void msgpack (sella::util::MessagePack &mpack, uint32_t &offset) const =0 throw (TypeCastException)
 
virtual void msgpackBufferSize (size_t &size) const =0 throw ()
 
bool isNull () const throw ()
 

Static Public Attributes

static const int Type = 0x00
 
static const int JSON = 0x00
 
static const int CJSON = 0x01
 
static const int MSGPACK = 0x02
 
static const int XML = 0x03
 
static const int CSV = 0x04
 

Protected Member Functions

std::vector< std::string > tokenize (const std::string &value, const boost::regex &pattern) const throw (TypeCastException)
 

Protected Attributes

std::shared_ptr< void > value
 

Detailed Description

Definition at line 31 of file Nullable.h.


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