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

Public Types

typedef std::vector< Variant >
::iterator 
iterator
 
typedef std::vector< Variant >
::const_iterator 
const_iterator
 
- Public Types inherited from sella::variant::Nullable
typedef std::shared_ptr< Nullableshared
 

Public Member Functions

 Vector (const std::string &value) throw (TypeCastException)
 
 Vector (const std::vector< std::string > &token) throw (TypeCastException)
 
 Vector (sella::util::MessagePack &mpack, uint32_t &offset) throw (TypeCastException)
 
 Vector (const std::vector< Variant > &value) throw ()
 
 Vector (std::vector< Variant > &&value) throw ()
 
 Vector (const Vector &other) throw ()
 
 Vector (Vector &&other) throw ()
 
bool operator== (const Vector &other) const throw ()
 
bool operator!= (const Vector &other) const throw ()
 
Vectoroperator= (const Vector &other) throw ()
 
Vectoroperator= (Vector &&other) throw ()
 
Vectoroperator+= (const Variant &other) throw ()
 
Vectoroperator+= (Variant &&other) throw ()
 
const Variantoperator[] (size_t index) const throw (RangeException)
 
Variantoperator[] (size_t index) throw ()
 
iterator begin () throw ()
 
iterator end () throw ()
 
const_iterator cbegin () const throw ()
 
const_iterator cend () const throw ()
 
const std::vector< Variant > & get () const throw (UnsupportedOperatorException)
 
std::vector< Variant > & get () throw (UnsupportedOperatorException)
 
size_t size () const throw ()
 
bool empty () const throw ()
 
void clear () throw ()
 
bool erase (const std::string &key, int type=0) throw ()
 
bool erase (const Variant &value) throw ()
 
bool erase (size_t index) 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 = 0x50
 
- 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

- 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 30 of file Vector.h.


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