Hazelcast C++ Client
 All Classes Functions Variables Enumerations Pages
Public Member Functions | List of all members
hazelcast::client::serialization::ClassDefinitionBuilder Class Reference

ClassDefinitionBuilder is used to build and register ClassDefinitions manually. More...

#include <ClassDefinitionBuilder.h>

Public Member Functions

 ClassDefinitionBuilder (int factoryId, int classId, int version)
 
 ClassDefinitionBuilder (int factoryId, int classId)
 
ClassDefinitionBuilderaddIntField (const std::string &fieldName)
 
ClassDefinitionBuilderaddLongField (const std::string &fieldName)
 
ClassDefinitionBuilderaddUTFField (const std::string &fieldName)
 
ClassDefinitionBuilderaddBooleanField (const std::string &fieldName)
 
ClassDefinitionBuilderaddByteField (const std::string &fieldName)
 
ClassDefinitionBuilderaddCharField (const std::string &fieldName)
 
ClassDefinitionBuilderaddDoubleField (const std::string &fieldName)
 
ClassDefinitionBuilderaddFloatField (const std::string &fieldName)
 
ClassDefinitionBuilderaddShortField (const std::string &fieldName)
 
ClassDefinitionBuilderaddByteArrayField (const std::string &fieldName)
 
ClassDefinitionBuilderaddCharArrayField (const std::string &fieldName)
 
ClassDefinitionBuilderaddIntArrayField (const std::string &fieldName)
 
ClassDefinitionBuilderaddLongArrayField (const std::string &fieldName)
 
ClassDefinitionBuilderaddDoubleArrayField (const std::string &fieldName)
 
ClassDefinitionBuilderaddFloatArrayField (const std::string &fieldName)
 
ClassDefinitionBuilderaddShortArrayField (const std::string &fieldName)
 
ClassDefinitionBuilderaddPortableField (const std::string &fieldName, boost::shared_ptr< ClassDefinition > def)
 
ClassDefinitionBuilderaddPortableArrayField (const std::string &fieldName, boost::shared_ptr< ClassDefinition > def)
 
ClassDefinitionBuilderaddField (FieldDefinition &fieldDefinition)
 
boost::shared_ptr
< ClassDefinition
build ()
 
int getFactoryId ()
 
int getClassId ()
 
int getVersion ()
 

Detailed Description

ClassDefinitionBuilder is used to build and register ClassDefinitions manually.

See Also
ClassDefinition
Portable
SerializationConfig::addClassDefinition(ClassDefinition)

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