Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
CmpPtr.h File Reference
#include "simulation2/system/Entity.h"

Go to the source code of this file.

Classes

class  CmpPtr< T >
 A simplified syntax for accessing entity components. More...
 

Functions

IComponentQueryInterface (const CSimContext &context, entity_id_t ent, int iid)
 
IComponentQueryInterface (const CSimulation2 &simulation, entity_id_t ent, int iid)
 
template<typename T , typename U >
bool operator!= (const CmpPtr< T > &lhs, const U &rhs)
 
template<typename T , typename U >
bool operator== (const CmpPtr< T > &lhs, const U &rhs)
 

Function Documentation

template<typename T , typename U >
bool operator!= ( const CmpPtr< T > &  lhs,
const U &  rhs 
)

Definition at line 95 of file CmpPtr.h.

template<typename T , typename U >
bool operator== ( const CmpPtr< T > &  lhs,
const U &  rhs 
)

Definition at line 102 of file CmpPtr.h.

IComponent* QueryInterface ( const CSimContext context,
entity_id_t  ent,
int  iid 
)

Definition at line 26 of file CmpPtr.cpp.

IComponent* QueryInterface ( const CSimulation2 simulation,
entity_id_t  ent,
int  iid 
)

Definition at line 31 of file CmpPtr.cpp.