Logo Search packages:      
Sourcecode: einstein version File versions  Download package

Resource * ResourcesCollection::getResource ( const std::wstring &  name  ) 

Returns resource entry. If resource not found Exception will be thrown.

Definition at line 588 of file resources.cpp.

Referenced by createStream(), getRef(), and loadData().

    Resource *r = resources[name];
    if (! r)
        throw Exception(L"Resource '" + name + L"' not found");
    return r;

Generated by  Doxygen 1.6.0   Back to index