21 #ifndef HAZELCAST_ClassDefinitionBuilder 
   22 #define HAZELCAST_ClassDefinitionBuilder 
   24 #include "hazelcast/util/HazelcastDll.h" 
   25 #include "hazelcast/client/serialization/ClassDefinition.h" 
   29 #if  defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 
   31 #pragma warning(disable: 4251) //for dll export 
   36         namespace serialization {
 
   85                 ClassDefinitionBuilder& addPortableField(
const std::string& fieldName, boost::shared_ptr<ClassDefinition> def);
 
   87                 ClassDefinitionBuilder& addPortableArrayField(
const std::string& fieldName, boost::shared_ptr<ClassDefinition> def);
 
   91                 boost::shared_ptr<ClassDefinition> build();
 
  105                 std::vector<FieldDefinition> fieldDefinitions;
 
  107                 void addField(
const std::string& fieldName , 
FieldType const &fieldType);
 
  115 #if  defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 
  119 #endif //HAZELCAST_ClassDefinitionBuilder 
ClassDefinitionBuilder is used to build and register ClassDefinitions manually. 
Definition: ClassDefinitionBuilder.h:45
 
Definition: FieldType.h:24
 
FieldDefinition defines name, type, index of a field. 
Definition: FieldDefinition.h:47