hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
hobbes::OpaquePtr Class Reference

#include <type.H>

Inheritance diagram for hobbes::OpaquePtr:
Inheritance graph
Collaboration diagram for hobbes::OpaquePtr:
Collaboration graph

Public Member Functions

void show (std::ostream &out) const
 
const std::string & name () const
 
unsigned int size () const
 
bool storedContiguously () const
 
- Public Member Functions inherited from hobbes::MonoTypeCase< OpaquePtr >
 MonoTypeCase ()
 
- Public Member Functions inherited from hobbes::MonoType
virtual ~MonoType ()
 
bool operator== (const MonoType &rhs) const
 
int case_id () const
 
template<typename Class , typename T , typename ... Args>
MonoTypePtr makeType (const Args &... args)
 

Static Public Member Functions

static MonoTypePtr make (const std::string &nm, unsigned int sz, bool scontig=false)
 

Static Public Attributes

static const int type_case_id = 1
 

Private Member Functions

 OpaquePtr (const std::string &, unsigned int, bool)
 

Private Attributes

std::string nm
 
unsigned int sz
 
bool scontig
 

Friends

class MonoType
 

Additional Inherited Members

- Public Types inherited from hobbes::MonoType
typedef std::shared_ptr< MonoTypeptr
 
typedef std::set< std::string > TypeVarNames
 
- Public Attributes inherited from hobbes::MonoType
TypeVarNames freeTVars
 
int tgenCount
 
unsigned int memorySize
 
ptr unaliasedType
 
- Protected Member Functions inherited from hobbes::MonoType
 MonoType (int cid)
 
- Static Protected Member Functions inherited from hobbes::MonoType
template<typename Class , typename T , typename ... Args>
static ptr makeType (const Args &... args)
 

Constructor & Destructor Documentation

◆ OpaquePtr()

hobbes::OpaquePtr::OpaquePtr ( const std::string &  nm,
unsigned int  sz,
bool  scontig 
)
private

Member Function Documentation

◆ make()

MonoTypePtr hobbes::OpaquePtr::make ( const std::string &  nm,
unsigned int  sz,
bool  scontig = false 
)
static

◆ name()

const std::string & hobbes::OpaquePtr::name ( ) const

◆ show()

void hobbes::OpaquePtr::show ( std::ostream &  out) const
virtual

Implements hobbes::MonoType.

◆ size()

unsigned int hobbes::OpaquePtr::size ( ) const

◆ storedContiguously()

bool hobbes::OpaquePtr::storedContiguously ( ) const

Friends And Related Function Documentation

◆ MonoType

friend class MonoType
friend

Member Data Documentation

◆ nm

std::string hobbes::OpaquePtr::nm
private

◆ scontig

bool hobbes::OpaquePtr::scontig
private

◆ sz

unsigned int hobbes::OpaquePtr::sz
private

◆ type_case_id

const int hobbes::OpaquePtr::type_case_id = 1
static

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