CoreDX DDS Modern C++ API
Static Public Member Functions | List of all members
dds::core::xtypes::TypeProvider Class Reference

TypeProvider that creates types from external representations. More...

Static Public Member Functions

static DynamicType load_type (const std::string &uri)
 Load a type from the specified URI. More...
 
static std::vector< DynamicTypeload_types (const std::string &uri)
 Load a type from the specified URI. More...
 
static DynamicType load_type (const std::string &uri, const std::string &name)
 Load a named type from the specified URI.
 

Detailed Description

TypeProvider that creates types from external representations.

Member Function Documentation

◆ load_type()

static DynamicType dds::core::xtypes::TypeProvider::load_type ( const std::string &  uri)
static

Load a type from the specified URI.

If multiple types are defined only the first one is returned.

Not Yet Supported:

◆ load_types()

static std::vector<DynamicType> dds::core::xtypes::TypeProvider::load_types ( const std::string &  uri)
static

Load a type from the specified URI.

Returns a vector of all DynamicType[s] defined in the XML.

Not Yet Supported:

© 2009-2020 Twin Oaks Computing, Inc
Castle Rock, CO 80104
All rights reserved.