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

#include <class.h>

Collaboration diagram for r_comp::Class:
Collaboration graph

Public Member Functions

 Class (ReturnType t=ANY)
 
 Class (Atom atom, std::string str_opcode, std::vector< StructureMember > r, ReturnType t=ANY)
 
bool is_pattern (Metadata *metadata) const
 
bool is_fact (Metadata *metadata) const
 
bool get_member_index (Metadata *metadata, std::string &name, uint16_t &index, Class *&p) const
 
std::string get_member_name (uint64_t index)
 
ReturnType get_member_type (const uint16_t index)
 
Classget_member_class (Metadata *metadata, const std::string &name)
 
void write (uintptr_t *storage)
 
void read (uintptr_t *storage)
 
size_t get_size ()
 

Public Attributes

Atom atom
 
std::string str_opcode
 
std::vector< StructureMemberthings_to_read
 
ReturnType type
 
StructureMember::Iteration use_as
 

Static Public Attributes

static const char * Expression = "xpr"
 
static const char * Type = "type"
 

Private Member Functions

bool has_offset () const
 

Constructor & Destructor Documentation

r_comp::Class::Class ( ReturnType  t = ANY)
r_comp::Class::Class ( Atom  atom,
std::string  str_opcode,
std::vector< StructureMember r,
ReturnType  t = ANY 
)

Member Function Documentation

Class * r_comp::Class::get_member_class ( Metadata metadata,
const std::string &  name 
)

Here is the caller graph for this function:

bool r_comp::Class::get_member_index ( Metadata metadata,
std::string &  name,
uint16_t &  index,
Class *&  p 
) const

Here is the call graph for this function:

Here is the caller graph for this function:

std::string r_comp::Class::get_member_name ( uint64_t  index)

Here is the call graph for this function:

Here is the caller graph for this function:

ReturnType r_comp::Class::get_member_type ( const uint16_t  index)

Here is the call graph for this function:

Here is the caller graph for this function:

size_t r_comp::Class::get_size ( )

Here is the call graph for this function:

Here is the caller graph for this function:

bool r_comp::Class::has_offset ( ) const
private

Here is the call graph for this function:

Here is the caller graph for this function:

bool r_comp::Class::is_fact ( Metadata metadata) const
bool r_comp::Class::is_pattern ( Metadata metadata) const

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

void r_comp::Class::write ( uintptr_t *  storage)

Here is the call graph for this function:

Member Data Documentation

Atom r_comp::Class::atom
const char * r_comp::Class::Expression = "xpr"
static
std::string r_comp::Class::str_opcode
std::vector<StructureMember> r_comp::Class::things_to_read
const char * r_comp::Class::Type = "type"
static
ReturnType r_comp::Class::type
StructureMember::Iteration r_comp::Class::use_as

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