Leviathan  0.8.0.0
Leviathan game engine
Leviathan::ObjectFileList Class Referenceabstract

Interface for object file lists to implement. More...

#include <ObjectFile.h>

+ Inheritance diagram for Leviathan::ObjectFileList:

Public Member Functions

virtual DLLEXPORT ~ObjectFileList ()
 
virtual DLLEXPORT bool AddVariable (std::shared_ptr< NamedVariableList > var)=0
 Adds a new variable. More...
 
virtual DLLEXPORT NamedVarsGetVariables ()=0
 Gets a reference to the underlying variables. More...
 
virtual DLLEXPORT const std::string & GetName () const =0
 Gets the name of this list. More...
 

Protected Member Functions

 ObjectFileList ()
 

Detailed Description

Interface for object file lists to implement.

See also
ObjectFileListProper

Definition at line 21 of file ObjectFile.h.

Constructor & Destructor Documentation

◆ ~ObjectFileList()

DLLEXPORT Leviathan::ObjectFileList::~ObjectFileList ( )
virtual

Definition at line 229 of file ObjectFile.cpp.

229  {
230 
231 }

◆ ObjectFileList()

Leviathan::ObjectFileList::ObjectFileList ( )
inlineprotected

Definition at line 40 of file ObjectFile.h.

40  {
41  };

Member Function Documentation

◆ AddVariable()

virtual DLLEXPORT bool Leviathan::ObjectFileList::AddVariable ( std::shared_ptr< NamedVariableList var)
pure virtual

Adds a new variable.

Returns
False when the name conflicts, True otherwise

Implemented in Leviathan::ObjectFileListProper.

◆ GetName()

virtual DLLEXPORT const std::string& Leviathan::ObjectFileList::GetName ( ) const
pure virtual

Gets the name of this list.

Implemented in Leviathan::ObjectFileListProper.

◆ GetVariables()

virtual DLLEXPORT NamedVars& Leviathan::ObjectFileList::GetVariables ( )
pure virtual

Gets a reference to the underlying variables.

Implemented in Leviathan::ObjectFileListProper.


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