Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
SB::Core::DatabaseObject Class Reference

Base object type for any object that can exist in the editor/database. Holds an ID and name. More...

#include <database_object.h>

Inheritance diagram for SB::Core::DatabaseObject:
Collaboration diagram for SB::Core::DatabaseObject:

Public Member Functions

SB_ID getDatabaseID () const
 
void setDatabaseID (SB_ID id)
 
std::string_view getDatabaseName () const
 
void setDatabaseName (std::string_view name)
 
bool getEditorHidden () const
 
void setEditorHidden (bool hidden)
 
 operator SB_ID () const
 
- Public Member Functions inherited from SB::Core::Object
template<typename T >
TtryConvertObject () noexcept
 Gets the most derived type of this object and upcasts it to T.
 
template<typename T >
const TtryConvertObject () const noexcept
 
rttr::type getType () const
 
- Public Member Functions inherited from SB::Core::ObjectUtilities
SB::Engine::SystemgetSystem () const
 
sc_systemgetChef () const
 
ma_enginegetMini () const
 
- Public Member Functions inherited from SB::Core::DatabaseObjectUtilities
virtual void onLoaded ()
 
virtual void onProjectLoaded ()
 
virtual void onDestroy ()
 

Friends

class Database
 

Additional Inherited Members

- Public Attributes inherited from SB::Core::ObjectUtilities
std::string m_debugName
 

Detailed Description

Base object type for any object that can exist in the editor/database. Holds an ID and name.


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