libutil++  1.9.3
 All Classes Functions Variables
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
sella::variant::String Class Reference
Inheritance diagram for sella::variant::String:
sella::variant::Nullable

Public Member Functions

 String (const std::string &value) throw ()
 
 String (std::string &&value) throw ()
 
 String (const String &other) throw ()
 
 String (String &&other) throw ()
 
bool operator== (const String &other) const throw ()
 
bool operator!= (const String &other) const throw ()
 
bool operator> (const String &other) const throw ()
 
bool operator< (const String &other) const throw ()
 
Stringoperator= (const String &other) throw ()
 
Stringoperator= (String &&other) throw ()
 
Stringoperator= (const std::string &other) throw ()
 
Stringoperator= (const char *other) throw ()
 
Stringoperator+= (const std::string &value) throw ()
 
const std::string & get () const throw (UnsupportedOperatorException)
 
std::string & get () throw (UnsupportedOperatorException)
 
size_t size () const throw ()
 
bool empty () const throw ()
 
void clear () throw ()
 
virtual void shrink_to_fit () throw ()
 
virtual void msgpack (sella::util::MessagePack &mpack, uint32_t &offset) const throw (TypeCastException)
 
virtual void msgpackBufferSize (size_t &size) const throw ()
 
virtual std::string str (int type) const throw ()
 
virtual int getType (void) throw ()
 
- Public Member Functions inherited from sella::variant::Nullable
 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 ()
 
bool isNull () const throw ()
 

Static Public Member Functions

static const boost::regex & Pattern (void)
 
static bool isType (const std::string &value) throw ()
 
static bool isType (const char *value, size_t size) throw ()
 

Static Public Attributes

static const int Type = 0x06
 
- Static Public Attributes inherited from sella::variant::Nullable
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
 

Additional Inherited Members

- Public Types inherited from sella::variant::Nullable
typedef std::shared_ptr< Nullableshared
 
- Protected Member Functions inherited from sella::variant::Nullable
std::vector< std::string > tokenize (const std::string &value, const boost::regex &pattern) const throw (TypeCastException)
 
- Protected Attributes inherited from sella::variant::Nullable
std::shared_ptr< void > value
 

Detailed Description

Definition at line 26 of file String.h.


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