Simulant  21.12-1292
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
All Classes Namespaces Files Functions Variables Typedefs Macros
Public Member Functions | List of all members
smlt::Binary Class Reference
Inheritance diagram for smlt::Binary:
smlt::Asset smlt::RefCounted< Binary > smlt::generic::Identifiable< AssetID > smlt::Nameable smlt::TwoPhaseConstructed

Public Member Functions

 Binary (AssetID id, AssetManager *asset_manager, const std::vector< uint8_t > &&data)
 
const uint8_t * data () const
 
std::size_t data_size_in_bytes () const
 
- Public Member Functions inherited from smlt::Asset
 Asset (AssetManager *manager)
 
AssetManagerasset_manager ()
 
const AssetManagerasset_manager () const
 
int age () const
 
void set_garbage_collection_method (GarbageCollectMethod method)
 
- Public Member Functions inherited from smlt::Nameable
void set_name (const std::string &name)
 
const std::string & name () const
 
bool has_name () const
 
- Public Member Functions inherited from smlt::TwoPhaseConstructed
bool init ()
 
void clean_up ()
 
- Public Member Functions inherited from smlt::generic::Identifiable< AssetID >
 Identifiable (AssetID id)
 
AssetID id () const
 
virtual bool operator== (const Identifiable< AssetID > &rhs) const
 
virtual bool operator< (const Identifiable< AssetID > &rhs) const
 

Additional Inherited Members

- Public Types inherited from smlt::RefCounted< Binary >
typedef std::shared_ptr< Binaryptr
 
typedef std::weak_ptr< Binarywptr
 
- Public Types inherited from smlt::generic::Identifiable< AssetID >
typedef AssetID id_type
 
- Static Public Member Functions inherited from smlt::RefCounted< Binary >
static RefCounted< Binary >::ptr create (Args &&... args)
 
static RefCounted< Binary >::ptr create ()
 
- Public Attributes inherited from smlt::Asset
Property< generic::DataCarrier Asset::* > data = {this, &Asset::data_}
 
- Protected Member Functions inherited from smlt::Asset
 Asset (const Asset &rhs)
 
Assetoperator= (const Asset &rhs)
 
- Protected Member Functions inherited from smlt::RefCounted< Binary >
 RefCounted (Args &&...)
 

The documentation for this class was generated from the following file: