ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Public Member Functions | Public Attributes | Private Attributes | Friends | List of all members
etiss::instr::InstructionGroup Class Reference

maps to InstructionSet More...

#include <Instruction.h>

Inheritance diagram for etiss::instr::InstructionGroup:
Inheritance graph
[legend]
Collaboration diagram for etiss::instr::InstructionGroup:
Collaboration graph
[legend]

Public Member Functions

 etiss_del_como (InstructionGroup) inline InstructionGroup(const std
 
void foreach (std::function< void(InstructionDefinition &)> call)
 
void addTo (InstructionSet &set, bool &ok)
 
std::string toString () const
 
- Public Member Functions inherited from etiss::ToString
 ToString ()
 
virtual ~ToString ()
 

Public Attributes

const std::string name_
 
const unsigned width_
 

Private Attributes

std::set< InstructionDefinition * > defs_
 

Friends

class InstructionDefinition
 

Detailed Description

maps to InstructionSet

Definition at line 676 of file Instruction.h.

Member Function Documentation

◆ addTo()

void etiss::instr::InstructionGroup::addTo ( InstructionSet set,
bool ok 
)

Definition at line 725 of file Instruction.cpp.

References etiss::instr::InstructionSet::create(), etiss::ERROR, etiss::log(), and name_.

Referenced by etiss::instr::InstructionClass::addTo().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ etiss_del_como()

etiss::instr::InstructionGroup::etiss_del_como ( InstructionGroup  ) const
inline

Definition at line 687 of file Instruction.h.

◆ foreach()

void etiss::instr::InstructionGroup::foreach ( std::function< void(InstructionDefinition &)>  call)
inline

Definition at line 693 of file Instruction.h.

References defs_.

◆ toString()

std::string etiss::instr::InstructionGroup::toString ( ) const
inline

Definition at line 701 of file Instruction.h.

References name_.

Friends And Related Function Documentation

◆ InstructionDefinition

friend class InstructionDefinition
friend

Definition at line 678 of file Instruction.h.

Member Data Documentation

◆ defs_

std::set<InstructionDefinition *> etiss::instr::InstructionGroup::defs_
private

Definition at line 681 of file Instruction.h.

Referenced by etiss::instr::InstructionDefinition::builtinGroups_(), and foreach().

◆ name_

const std::string etiss::instr::InstructionGroup::name_

◆ width_

const unsigned etiss::instr::InstructionGroup::width_

Definition at line 685 of file Instruction.h.

Referenced by etiss::instr::InstructionClass::addTo().


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