Grail (C++)  1.4.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::planner::ObjectParameter Class Referenceabstract

#include <ObjectParameter.hh>

Inheritance diagram for grail::planner::ObjectParameter:

Public Member Functions

template<typename ParameterType >
const ParameterType & GetValue () const
 
template<typename ParameterType >
void SetValue (const ParameterType &value)
 
virtual ObjectParameterClone (MemoryPool &memory) const =0
 
virtual bool operator== (const ObjectParameter &other) const =0
 
virtual bool operator< (const ObjectParameter &other) const =0
 

Protected Member Functions

 ObjectParameter (std::type_index type)
 
 ObjectParameter (const ObjectParameter &)=default
 
 ObjectParameter (ObjectParameter &&)=default
 
ObjectParameteroperator= (const ObjectParameter &)=default
 
ObjectParameteroperator= (ObjectParameter &&)=default
 
virtual const void * GetUncastValue () const =0
 
virtual void * GetUncastValue ()=0
 

Detailed Description

A parameter class that holds values of a given ParameterType. This class is primarily used for the internal library purposes.


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