SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Classes | Functions
smtk::resource::detail Namespace Reference

Global access methods used to sort Container data. More...

Classes

struct  ComponentLinkBase
 
class  ComponentLinks
 The ComponentLinks class is a component-specific API for manipulating unidirectional links from a component to other Resources and Components. More...
 
class  ComponentProperties
 This specialization of smtk::resource::Properties completes aforementioned class's implementation by accessing the properties container held by the component's resource. More...
 
class  is_derived_resource
 
class  Properties
 Properties is a generalized container for storing and accessing data using a std::string key. More...
 
class  PropertiesBase
 The Properties classes defined in this namespace closely correlate to counterparts in smtk::common::TypeMap, but are tailored to provide a UUID as an additional lookup parameter. More...
 
class  PropertiesOfType
 
class  PropertiesOfType< std::unordered_map< smtk::common::UUID, Type > >
 A specialization of the smtk::common::PropertiesContainer for a single type. More...
 
struct  resource_index_set_generator
 
struct  resource_index_set_generator< ResourceType, false >
 
struct  resource_index_set_generator< ResourceType, true >
 
class  ResourceLinkBase
 
class  ResourceLinks
 The ResourceLinks class is a resource-specific API for manipulating unidirectional links from a Resource and its Components to other Resources and Components. More...
 
class  ResourceProperties
 This specialization of smtk::resource::Properties completes aforementioned class's implementation by holding a customization of smtk::common::Properties as described in the above detail namespace. More...
 

Functions

const smtk::common::UUIDid (const ResourcePtr &r)
 
smtk::resource::Resource::Index index (const ResourcePtr &r)
 
std::string name (const smtk::resource::ResourcePtr &r)
 
const std::string & location (const ResourcePtr &r)
 

Detailed Description

Global access methods used to sort Container data.

The Properties classes defined in the resource namespace use the TypeMap classes defined in smtk::common, but provide a distinct API to transpose the UUID and property key for storage vs presentation; this is to prevent the creation of a map for each component within a resource.