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::FixedArray Class Reference

#include <type.H>

Inheritance diagram for hobbes::FixedArray:
Inheritance graph
Collaboration diagram for hobbes::FixedArray:
Collaboration graph

Public Member Functions

void show (std::ostream &out) const
 
const MonoTypePtrtype () const
 
const MonoTypePtrlength () const
 
long requireLength () const
 
- Public Member Functions inherited from hobbes::MonoTypeCase< FixedArray >
 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 MonoTypePtr &ty, const MonoTypePtr &len)
 

Static Public Attributes

static const int type_case_id = 4
 

Private Member Functions

 FixedArray (const MonoTypePtr &, const MonoTypePtr &)
 

Private Attributes

MonoTypePtr ty
 
MonoTypePtr len
 

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

◆ FixedArray()

hobbes::FixedArray::FixedArray ( const MonoTypePtr ty,
const MonoTypePtr len 
)
private

Member Function Documentation

◆ length()

const MonoTypePtr & hobbes::FixedArray::length ( ) const

◆ make()

MonoTypePtr hobbes::FixedArray::make ( const MonoTypePtr ty,
const MonoTypePtr len 
)
static

◆ requireLength()

long hobbes::FixedArray::requireLength ( ) const

◆ show()

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

Implements hobbes::MonoType.

◆ type()

const MonoTypePtr & hobbes::FixedArray::type ( ) const

Friends And Related Function Documentation

◆ MonoType

friend class MonoType
friend

Member Data Documentation

◆ len

MonoTypePtr hobbes::FixedArray::len
private

◆ ty

MonoTypePtr hobbes::FixedArray::ty
private

◆ type_case_id

const int hobbes::FixedArray::type_case_id = 4
static

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