Namespaces | Classes | Typedefs | Functions | Variables
cpp_introspection Namespace Reference

Namespaces

namespace  field_traits

Classes

class  Accessor
class  AccessorBase
class  BoolType
struct  CompareTypeInfo
struct  converter
struct  converter< OtherT, typename boost::enable_if< boost::is_floating_point< OtherT > >::type >
struct  converter< OtherT, typename boost::enable_if< boost::is_signed< OtherT > >::type >
struct  converter< OtherT, typename boost::enable_if< boost::is_unsigned< OtherT > >::type >
struct  converter< std::string >
class  DurationType
class  ExpandedField
class  ExpandedMessage
class  Field
class  Message
class  MessageForwarder
class  MessageTemplate
class  NumericType
class  Package
class  StringType
class  TimeType
class  Type
struct  UnknownType

Typedefs

typedef boost::shared_ptr
< Field const > 
FieldPtr
typedef boost::weak_ptr< Field
const > 
FieldWPtr
typedef std::map< std::string,
FieldWPtr
M_Field
typedef std::map< std::string,
MessageWPtr
M_Message
typedef std::map< std::string,
PackageWPtr
M_Package
typedef std::map< std::string,
TypeWPtr
M_Type
typedef std::map< const
std::type_info *, MessageWPtr,
CompareTypeInfo
M_TypeInfo_Message
typedef boost::shared_ptr
< Message const > 
MessagePtr
typedef boost::weak_ptr
< Message const > 
MessageWPtr
typedef boost::shared_ptr
< Package const > 
PackagePtr
typedef boost::weak_ptr
< Package const > 
PackageWPtr
typedef boost::shared_ptr
< Type const > 
TypePtr
typedef boost::weak_ptr< Type
const > 
TypeWPtr
typedef std::vector< FieldPtrV_Field
typedef std::vector< const char * > V_FieldName
typedef std::vector< MessagePtrV_Message
typedef std::vector< PackagePtrV_Package
typedef std::vector< std::string > V_string
typedef std::vector< TypePtrV_Type
typedef boost::shared_ptr
< void const > 
VoidConstPtr
typedef boost::weak_ptr< void
const > 
VoidConstWPtr
typedef boost::shared_ptr< void > VoidPtr
typedef boost::weak_ptr< void > VoidWPtr

Functions

MessagePtr expand (const MessagePtr &message, const std::string &separator=".", const std::string &prefix="")
template<typename T >
MessagePtr introspect (T &instance)
PackagePtr load (const std::string &package_or_library_or_path)
PackagePtr loadPackage (const std::string &package_name)
MessagePtr messageByDataType (const std::string &data_type, const std::string &package=std::string())
static MessagePtr messageByDataType (const char *data_type, const char *package)
MessagePtr messageByMD5Sum (const std::string &md5sum)
static MessagePtr messageByMD5Sum (const char *md5sum)
MessagePtr messageByTypeId (const std::type_info &type_info)
PackagePtr package (const std::string &pkg)
static PackagePtr package (const char *pkg)
const V_Packagepackages ()
TypePtr type (const std::string &name)

Variables

static V_string g_loaded_libraries
static M_Message g_messages_by_md5sum
static M_Message g_messages_by_name
static M_TypeInfo_Message g_messages_by_typeid
static M_Package g_packages
static V_Package g_repository
static V_Type g_types
static M_Type g_types_by_name

Typedef Documentation

typedef boost::shared_ptr<Field const> cpp_introspection::FieldPtr

Definition at line 50 of file forwards.h.

typedef boost::weak_ptr<Field const> cpp_introspection::FieldWPtr

Definition at line 51 of file forwards.h.

typedef std::map<std::string,FieldWPtr> cpp_introspection::M_Field

Definition at line 63 of file forwards.h.

typedef std::map<std::string,MessageWPtr> cpp_introspection::M_Message

Definition at line 62 of file forwards.h.

typedef std::map<std::string,PackageWPtr> cpp_introspection::M_Package

Definition at line 61 of file forwards.h.

typedef std::map<std::string,TypeWPtr> cpp_introspection::M_Type

Definition at line 64 of file forwards.h.

typedef std::map<const std::type_info *,MessageWPtr,CompareTypeInfo> cpp_introspection::M_TypeInfo_Message

Definition at line 67 of file forwards.h.

typedef boost::shared_ptr<Message const> cpp_introspection::MessagePtr

Definition at line 48 of file forwards.h.

typedef boost::weak_ptr<Message const> cpp_introspection::MessageWPtr

Definition at line 49 of file forwards.h.

typedef boost::shared_ptr<Package const> cpp_introspection::PackagePtr

Definition at line 44 of file forwards.h.

typedef boost::weak_ptr<Package const> cpp_introspection::PackageWPtr

Definition at line 47 of file forwards.h.

typedef boost::shared_ptr<Type const> cpp_introspection::TypePtr

Definition at line 52 of file forwards.h.

typedef boost::weak_ptr<Type const> cpp_introspection::TypeWPtr

Definition at line 53 of file forwards.h.

typedef std::vector<FieldPtr> cpp_introspection::V_Field

Definition at line 57 of file forwards.h.

typedef std::vector<const char *> cpp_introspection::V_FieldName

Definition at line 58 of file forwards.h.

Definition at line 56 of file forwards.h.

Definition at line 55 of file forwards.h.

typedef std::vector<std::string> cpp_introspection::V_string

Definition at line 74 of file forwards.h.

typedef std::vector<TypePtr> cpp_introspection::V_Type

Definition at line 59 of file forwards.h.

typedef boost::shared_ptr<void const> cpp_introspection::VoidConstPtr

Definition at line 71 of file forwards.h.

typedef boost::weak_ptr<void const> cpp_introspection::VoidConstWPtr

Definition at line 72 of file forwards.h.

typedef boost::shared_ptr<void> cpp_introspection::VoidPtr

Definition at line 69 of file forwards.h.

typedef boost::weak_ptr<void> cpp_introspection::VoidWPtr

Definition at line 70 of file forwards.h.


Function Documentation

MessagePtr cpp_introspection::expand ( const MessagePtr &  message,
const std::string &  separator = ".",
const std::string &  prefix = "" 
)

Definition at line 109 of file introspection.cpp.

template<typename T >
MessagePtr cpp_introspection::introspect ( T &  instance)

Definition at line 42 of file introspection.h.

PackagePtr cpp_introspection::load ( const std::string &  package_or_library_or_path)

Definition at line 245 of file introspection.cpp.

PackagePtr cpp_introspection::loadPackage ( const std::string &  package_name)

Definition at line 237 of file introspection.cpp.

MessagePtr cpp_introspection::messageByDataType ( const std::string &  data_type,
const std::string &  package = std::string() 
)

Definition at line 58 of file introspection.cpp.

static MessagePtr cpp_introspection::messageByDataType ( const char *  data_type,
const char *  package 
) [inline, static]

Definition at line 108 of file message.h.

MessagePtr cpp_introspection::messageByMD5Sum ( const std::string &  md5sum)

Definition at line 66 of file introspection.cpp.

static MessagePtr cpp_introspection::messageByMD5Sum ( const char *  md5sum) [inline, static]

Definition at line 110 of file message.h.

MessagePtr cpp_introspection::messageByTypeId ( const std::type_info &  type_info)

Definition at line 72 of file introspection.cpp.

PackagePtr cpp_introspection::package ( const std::string &  pkg)

Definition at line 48 of file introspection.cpp.

static PackagePtr cpp_introspection::package ( const char *  pkg) [inline, static]

Definition at line 62 of file package.h.

Definition at line 54 of file introspection.cpp.

TypePtr cpp_introspection::type ( const std::string &  name)

Definition at line 82 of file types.cpp.


Variable Documentation

Definition at line 46 of file introspection.cpp.

Definition at line 44 of file introspection.cpp.

Definition at line 43 of file introspection.cpp.

Definition at line 45 of file introspection.cpp.

Definition at line 41 of file introspection.cpp.

Definition at line 42 of file introspection.cpp.

Definition at line 33 of file types.cpp.

Definition at line 34 of file types.cpp.



cpp_introspection
Author(s): Johannes Meyer
autogenerated on Sun Oct 5 2014 23:17:53