Home | Trees | Indices | Help |
---|
|
object --+ | ??.instance --+ | ResourceLocator
%ResourceLocator classes are responsible for retrieving data from a data store that will be used to construct a Resource. This data store could be a file system or a database or any other place where data is stored. The ResourceManager asks the ResourceLocator to produce a ResourceStream object when given a "locator_id." A "locator_id" is what's needed to identify a data source from a data store: for example, for the FileSystemResourceLocator, the locator id is a file name; for the DatabaseResourceLocator, it would be a database query.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
__instance_size__ = 32
|
|
|||
Inherited from |
|
__init__( (object)arg1) -> None : C++ signature : void __init__(_object*)
|
helper for pickle
|
locate_resource_stream( (ResourceLocator)arg1, (str)locator_id) -> ResourceStream : Create and return a ResourceStream object from the given locator_id so that its stream can be passed to the ResourceLoader C++ signature : boost::shared_ptr<basic::resource_manager::ResourceStream> locate_resource_stream(basic::resource_manager::ResourceLocator {lvalue},std::string) locate_resource_stream( (ResourceLocator)arg1, (str)arg2) -> None : C++ signature : void locate_resource_stream(boost::shared_ptr<ResourceLocator_exposer_callback> {lvalue},std::string) |
locator_tag( (ResourceLocator)arg1, (str)locator_tag) -> None : Set the name for this %ResourceLocator C++ signature : void locator_tag(basic::resource_manager::ResourceLocator {lvalue},std::string) locator_tag( (ResourceLocator)arg1, (str)locator_tag) -> None : C++ signature : void locator_tag(ResourceLocator_exposer_callback {lvalue},std::string) locator_tag( (ResourceLocator)arg1) -> str : Return the name for this %ResourceLocator C++ signature : std::string locator_tag(basic::resource_manager::ResourceLocator {lvalue}) locator_tag( (ResourceLocator)arg1) -> str : C++ signature : std::string locator_tag(ResourceLocator_exposer_callback {lvalue}) |
parse_my_tag( (ResourceLocator)arg1, (Tag)tag) -> None : Initialize the parameters for this %ResourceLocator from the contents of an XML file. C++ signature : void parse_my_tag(basic::resource_manager::ResourceLocator {lvalue},boost::shared_ptr<utility::tag::Tag const>) parse_my_tag( (ResourceLocator)arg1, (Tag)arg2) -> None : C++ signature : void parse_my_tag(boost::shared_ptr<ResourceLocator_exposer_callback> {lvalue},boost::shared_ptr<utility::tag::Tag const>) |
show( (ResourceLocator)arg1, (OStream)out) -> None : Write a description of this %ResourceLocator to an out stream C++ signature : void show(basic::resource_manager::ResourceLocator {lvalue},std::ostream {lvalue}) show( (ResourceLocator)arg1, (OStream)arg2) -> None : C++ signature : void show(boost::shared_ptr<ResourceLocator_exposer_callback> {lvalue},std::ostream {lvalue}) |
type( (ResourceLocator)arg1) -> str : Return the class name for this %ResourceLocator instance. This function allows for better error message delivery. C++ signature : std::string type(basic::resource_manager::ResourceLocator {lvalue}) type( (ResourceLocator)arg1) -> None : C++ signature : void type(boost::shared_ptr<ResourceLocator_exposer_callback> {lvalue}) |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Jun 6 00:11:01 2015 | http://epydoc.sourceforge.net |