BSON C++ API  2.5.1
uma::bson
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
uma::bson::Undefined Class Reference

#include <Undefined.h>

+ Inheritance diagram for uma::bson::Undefined:
+ Collaboration diagram for uma::bson::Undefined:

Public Member Functions

 Undefined ()
 Default CTOR.
 
int32_t getSize () const
 Return the size in bytes for the BSON representation of this value.
 
Value::Type getType () const
 Returns the type for this instance as listed in the BSON specifications.
 
- Public Member Functions inherited from uma::bson::Value
virtual ~Value ()
 Virtual DTOR for sub-classes.
 
const std::string & getTypeName () const
 Returns a standard textual value for this type.
 

Additional Inherited Members

- Public Types inherited from uma::bson::Value
enum  Type {
  Eoo = 0, Double = 1, String = 2, Object = 3,
  Array = 4, BinData = 5, Undefined = 6, OID = 7,
  Boolean = 8, Date = 9, Null = 10, RegEx = 11,
  DbRef = 12, Code = 13, Symbol = 14, CodeWScope = 15,
  Integer = 16, Timestamp = 17, Long = 18
}
 
- Static Public Member Functions inherited from uma::bson::Value
static const std::string & getTypeName (const Type type)
 Return a descriptive text about the specified type.
 
- Protected Member Functions inherited from uma::bson::Value
 Value ()
 

Detailed Description

A POD that represents a BSON element of type undefined.

Date
Created 2012/09/06 18:55
Author
Rakesh
Version
Id:
Undefined.h 172 2012-12-14 17:21:21Z spt

Constructor & Destructor Documentation

uma::bson::Undefined::Undefined ( )
inline

Default CTOR.

Member Function Documentation

int32_t uma::bson::Undefined::getSize ( ) const
inlinevirtual

Return the size in bytes for the BSON representation of this value.

Returns
Returns 0 as per specifications.

Implements uma::bson::Value.

Value::Type uma::bson::Undefined::getType ( ) const
inlinevirtual

Returns the type for this instance as listed in the BSON specifications.

Returns
Returns uma::bson::Value::Type::Undefined

Implements uma::bson::Value.


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