delphyne
delphyne::utility Namespace Reference

Namespaces

 internal
 

Classes

class  BundledPackage
 A Package subclass that bundles all resources in a self contained directory structure, suitable for transport. More...
 
class  ColladaFile
 A Resource representation of a Collada mesh file. More...
 
class  GenericResource
 A simple generic Resource implementation, providing introspection through heavy regex usage. More...
 
class  MTLFile
 A Resource representation of an MTL material file as found in OBJ files. More...
 
class  OBJFile
 A Resource representation of an OBJ mesh file. More...
 
class  Package
 A class for resource management. More...
 
class  PackageManager
 A singleton to manage package usage during runtime. More...
 
class  Resource
 A class for resource representation. More...
 
class  ResourceInspector
 A singleton for resource reflection. More...
 
class  SystemPackage
 A Package subclass that leverages a Delphyne system installation. More...
 

Typedefs

using ResourceType = typename internal::Type< Resource >::template ConstructibleWith< const ignition::common::URI & >
 Type class for a Resource that can be instantiated from a string. More...
 
template<typename Derived >
using ResourceSubtype = typename internal::Subtype< Derived, Resource >::template ConstructibleWith< const ignition::common::URI & >
 Type class for a Resource subtype that can be instantiated from a string. More...
 

Functions

ignition::common::URI ToURI (const std::string &uri_or_path)
 Returns given uri_or_path as a URI. More...
 

Typedef Documentation

◆ ResourceSubtype

using ResourceSubtype = typename internal::Subtype<Derived, Resource>::template ConstructibleWith<const ignition::common::URI&>

Type class for a Resource subtype that can be instantiated from a string.

Template Parameters
DerivedA Resource subclass.

◆ ResourceType

using ResourceType = typename internal::Type<Resource>::template ConstructibleWith<const ignition::common::URI&>

Type class for a Resource that can be instantiated from a string.

Function Documentation

◆ ToURI()

ignition::common::URI ToURI ( const std::string &  uri_or_path)

Returns given uri_or_path as a URI.

Absolute paths are associated with the 'file://' scheme. Relative paths are associated with a 'package://' scheme. Any other URI passes through unchanged.