replicode
Public Types | Public Member Functions | Public Attributes | Private Types | Private Attributes | List of all members
r_comp::StructureMember Class Reference

#include <structure_member.h>

Collaboration diagram for r_comp::StructureMember:
Collaboration graph

Public Types

enum  Iteration { I_CLASS = 0, I_EXPRESSION = 1, I_SET = 2, I_DCLASS }
 

Public Member Functions

 StructureMember ()
 
 StructureMember (_Read r, std::string m, std::string p="", Iteration i=I_CLASS)
 
Classget_class (Metadata *metadata) const
 
ReturnType get_return_type () const
 
bool used_as_expression () const
 
Iteration getIteration () const
 
_Read read () const
 
void write (uintptr_t *storage) const
 
void read (uintptr_t *storage)
 
size_t get_size ()
 

Public Attributes

std::string name
 

Private Types

enum  ReadID {
  R_ANY = 0, R_NUMBER = 1, R_TIMESTAMP = 2, R_BOOLEAN = 3,
  R_STRING = 4, R_NODE = 5, R_DEVICE = 6, R_FUNCTION = 7,
  R_EXPRESSION = 8, R_SET = 9, R_CLASS = 10
}
 

Private Attributes

_Read _read
 
ReturnType type
 
std::string _class
 
Iteration iteration
 

Member Enumeration Documentation

Enumerator
I_CLASS 
I_EXPRESSION 
I_SET 
I_DCLASS 
Enumerator
R_ANY 
R_NUMBER 
R_TIMESTAMP 
R_BOOLEAN 
R_STRING 
R_NODE 
R_DEVICE 
R_FUNCTION 
R_EXPRESSION 
R_SET 
R_CLASS 

Constructor & Destructor Documentation

r_comp::StructureMember::StructureMember ( )
r_comp::StructureMember::StructureMember ( _Read  r,
std::string  m,
std::string  p = "",
Iteration  i = I_CLASS 
)

Here is the call graph for this function:

Member Function Documentation

Class * r_comp::StructureMember::get_class ( Metadata metadata) const

Here is the caller graph for this function:

ReturnType r_comp::StructureMember::get_return_type ( ) const
size_t r_comp::StructureMember::get_size ( )

Here is the call graph for this function:

Here is the caller graph for this function:

StructureMember::Iteration r_comp::StructureMember::getIteration ( ) const

Here is the caller graph for this function:

_Read r_comp::StructureMember::read ( ) const

Here is the caller graph for this function:

void r_comp::StructureMember::read ( uintptr_t *  storage)

Here is the call graph for this function:

bool r_comp::StructureMember::used_as_expression ( ) const
void r_comp::StructureMember::write ( uintptr_t *  storage) const

Here is the call graph for this function:

Member Data Documentation

std::string r_comp::StructureMember::_class
private
_Read r_comp::StructureMember::_read
private
Iteration r_comp::StructureMember::iteration
private
std::string r_comp::StructureMember::name
ReturnType r_comp::StructureMember::type
private

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