Package rosetta :: Package basic :: Package resource_manager :: Package locator :: Module _basic_resource_manager_locator_ :: Class NullResourceLocator
[hide private]
[frames] | no frames]

Class NullResourceLocator

                          object --+        
                                   |        
                         ??.instance --+    
                                       |    
_basic_resource_manager_.ResourceLocator --+
                                           |
                                          NullResourceLocator

The %NullResourceLocator is meant for cases where a resource can be created without reading from an input file. It goes through the motions of returning a ResourceStream (an empty NullStream) as is required of all ResourceLocators, but the stream that it creates will not be used.

Instance Methods [hide private]
 
__init__(...)
__init__( (object)arg1) -> None :
 
locate_resource_stream(...)
locate_resource_stream( (NullResourceLocator)arg1, (str)locator_tag) -> ResourceStream : Create an empty NullResource object that will not be used
 
locator_tag(...)
locator_tag( (NullResourceLocator)arg1) -> str : Return the name for this %ResourceLocator
 
parse_my_tag(...)
parse_my_tag( (NullResourceLocator)arg1, (Tag)tag) -> None : Noop, since there is no data in this class.
 
show(...)
show( (NullResourceLocator)arg1, (OStream)out) -> None : Describe this instance to the given output stream; since there is no data in this class, merely print the name of this class.
 
type(...)
type( (NullResourceLocator)arg1) -> str : Return the name of this class: "NullResourceLocator"

Inherited from _basic_resource_manager_.ResourceLocator: __reduce__

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from _basic_resource_manager_.ResourceLocator: __instance_size__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (NullResourceLocator)src) -> None :
    basic/resource_manager/locator/NullResourceLocator.hh:67

    C++ signature :
        void __init__(_object*,basic::resource_manager::locator::NullResourceLocator)

Overrides: object.__init__

locate_resource_stream(...)

 

locate_resource_stream( (NullResourceLocator)arg1, (str)locator_tag) -> ResourceStream :
    Create an empty NullResource object that will not be used
    

    C++ signature :
        boost::shared_ptr<basic::resource_manager::ResourceStream> locate_resource_stream(basic::resource_manager::locator::NullResourceLocator {lvalue},std::string)

locate_resource_stream( (NullResourceLocator)arg1, (str)locator_tag) -> ResourceStream :

    C++ signature :
        boost::shared_ptr<basic::resource_manager::ResourceStream> locate_resource_stream(NullResourceLocator_exposer_callback {lvalue},std::string)

Overrides: _basic_resource_manager_.ResourceLocator.locate_resource_stream

locator_tag(...)

 

locator_tag( (NullResourceLocator)arg1) -> str :
    Return the name for this %ResourceLocator
    

    C++ signature :
        std::string locator_tag(basic::resource_manager::locator::NullResourceLocator {lvalue})

locator_tag( (NullResourceLocator)arg1) -> str :

    C++ signature :
        std::string locator_tag(NullResourceLocator_exposer_callback {lvalue})

locator_tag( (NullResourceLocator)arg1, (str)locator_tag) -> None :
    Set the name for this %ResourceLocator
    

    C++ signature :
        void locator_tag(basic::resource_manager::locator::NullResourceLocator {lvalue},std::string)

locator_tag( (NullResourceLocator)arg1, (str)locator_tag) -> None :

    C++ signature :
        void locator_tag(NullResourceLocator_exposer_callback {lvalue},std::string)

Overrides: _basic_resource_manager_.ResourceLocator.locator_tag

parse_my_tag(...)

 

parse_my_tag( (NullResourceLocator)arg1, (Tag)tag) -> None :
    Noop, since there is no data in this class.
    

    C++ signature :
        void parse_my_tag(basic::resource_manager::locator::NullResourceLocator {lvalue},boost::shared_ptr<utility::tag::Tag const>)

parse_my_tag( (NullResourceLocator)arg1, (Tag)tag) -> None :

    C++ signature :
        void parse_my_tag(NullResourceLocator_exposer_callback {lvalue},boost::shared_ptr<utility::tag::Tag const>)

Overrides: _basic_resource_manager_.ResourceLocator.parse_my_tag

show(...)

 

show( (NullResourceLocator)arg1, (OStream)out) -> None :
    Describe this instance to the given output stream; since there is no
    data in this class, merely print the name of this class.
    

    C++ signature :
        void show(basic::resource_manager::locator::NullResourceLocator {lvalue},std::ostream {lvalue})

show( (NullResourceLocator)arg1, (OStream)out) -> None :

    C++ signature :
        void show(NullResourceLocator_exposer_callback {lvalue},std::ostream {lvalue})

Overrides: _basic_resource_manager_.ResourceLocator.show

type(...)

 

type( (NullResourceLocator)arg1) -> str :
    Return the name of this class: "NullResourceLocator"
    

    C++ signature :
        std::string type(basic::resource_manager::locator::NullResourceLocator {lvalue})

type( (NullResourceLocator)arg1) -> str :

    C++ signature :
        std::string type(NullResourceLocator_exposer_callback {lvalue})

Overrides: _basic_resource_manager_.ResourceLocator.type