Atlas  0.7.0
Networking protocol for the Worldforge system.
Atlas::Objects Namespace Reference

Classes

class  Allocator
 
class  BaseObjectData
 
class  Factories
 
struct  Factory
 
class  NoSuchAttrException
 
class  ObjectsDecoder
 
class  ObjectsEncoder
 
class  RootData
 All objects inherit from this.. More...
 
class  SmartPtr
 

Typedefs

typedef SmartPtr< RootDataRoot
 
typedef Root(* FactoryMethod) (const std::string &, int)
 
typedef Root(* DefaultInstanceMethod) (const std::string &, int)
 
typedef std::map< const std::string, FactoryFactoryMap
 

Functions

SmartPtr< RootDatageneric_factory (const std::string &name, int no)
 
SmartPtr< RootDataanonymous_factory (const std::string &name, int no)
 
template<typename returnPtrType , class fromType >
returnPtrType smart_dynamic_cast (const SmartPtr< fromType > &o)
 
template<typename returnPtrType , class fromType >
returnPtrType smart_static_cast (const SmartPtr< fromType > &o)
 

Variables

const std::string ID_ATTR = "id"
 
const std::string PARENT_ATTR = "parent"
 
const std::string STAMP_ATTR = "stamp"
 
const std::string OBJTYPE_ATTR = "objtype"
 
const std::string NAME_ATTR = "name"
 
const uint32_t ID_FLAG = 1u << 1u
 
const uint32_t PARENT_FLAG = 1u << 2u
 
const uint32_t STAMP_FLAG = 1u << 3u
 
const uint32_t OBJTYPE_FLAG = 1u << 4u
 
const uint32_t NAME_FLAG = 1u << 5u
 

Detailed Description

The Atlas high level Objects namespace.

This namespace contains classes used to handle high level Atlas data.