OpenASIP  2.0
Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
NullUnconditionalGuardEncoding Class Reference

#include <NullUnconditionalGuardEncoding.hh>

Inheritance diagram for NullUnconditionalGuardEncoding:
Inheritance graph
Collaboration diagram for NullUnconditionalGuardEncoding:
Collaboration graph

Static Public Member Functions

static NullUnconditionalGuardEncodinginstance ()
 

Private Member Functions

 NullUnconditionalGuardEncoding ()
 
virtual ~NullUnconditionalGuardEncoding ()
 

Static Private Attributes

static BinaryEncoding bem_
 The parent bem. More...
 
static MoveSlot moveSlot_
 The parent move slot. More...
 
static GuardField guardField_
 The parent guard field. More...
 
static NullUnconditionalGuardEncoding instance_
 The instance. More...
 

Additional Inherited Members

- Public Member Functions inherited from UnconditionalGuardEncoding
 UnconditionalGuardEncoding (bool inverted, unsigned int encoding, GuardField &parent)
 
 UnconditionalGuardEncoding (const ObjectState *state, GuardField &parent)
 
virtual ~UnconditionalGuardEncoding ()
 
virtual ObjectStatesaveState () const
 
- Public Member Functions inherited from GuardEncoding
virtual ~GuardEncoding ()
 
GuardFieldparent () const
 
bool isGuardInverted () const
 
unsigned int encoding () const
 
- Static Public Attributes inherited from UnconditionalGuardEncoding
static const std::string OSNAME_UNCONDITIONAL_GUARD_ENCODING = "uc_guard_encoding"
 ObjectState name for unconditional guard encoding. More...
 
- Static Public Attributes inherited from GuardEncoding
static const std::string OSNAME_GUARD_ENCODING = "guard_encoding"
 ObjectState name for guard encoding. More...
 
static const std::string OSKEY_INVERTED = "inverted"
 ObjectState attribute key for invert flag. More...
 
static const std::string OSKEY_ENCODING = "encoding"
 ObjectState attribute key for encoding. More...
 
- Protected Member Functions inherited from GuardEncoding
 GuardEncoding (bool inverted, unsigned int encoding)
 
 GuardEncoding (const ObjectState *state)
 
void setParent (GuardField *parent)
 

Detailed Description

A null version of UnconditionalGuardEncoding class.

Definition at line 45 of file NullUnconditionalGuardEncoding.hh.

Constructor & Destructor Documentation

◆ NullUnconditionalGuardEncoding()

NullUnconditionalGuardEncoding::NullUnconditionalGuardEncoding ( )
private

The constructor.

Definition at line 46 of file NullUnconditionalGuardEncoding.cc.

46  :
48 }

◆ ~NullUnconditionalGuardEncoding()

NullUnconditionalGuardEncoding::~NullUnconditionalGuardEncoding ( )
privatevirtual

The destructor.

Definition at line 54 of file NullUnconditionalGuardEncoding.cc.

54  {
55 }

Member Function Documentation

◆ instance()

NullUnconditionalGuardEncoding & NullUnconditionalGuardEncoding::instance ( )
static

Returns the only instance of NullUnconditionalGuardEncoding class.

Returns
The instance.

Definition at line 64 of file NullUnconditionalGuardEncoding.cc.

64  {
65  return instance_;
66 }

References instance_.

Referenced by CodeCompressorPlugin::addBitsForGuardField(), and GuardField::unconditionalGuardEncoding().

Member Data Documentation

◆ bem_

BinaryEncoding NullUnconditionalGuardEncoding::bem_
staticprivate

The parent bem.

Definition at line 54 of file NullUnconditionalGuardEncoding.hh.

◆ guardField_

GuardField NullUnconditionalGuardEncoding::guardField_
staticprivate

The parent guard field.

Definition at line 58 of file NullUnconditionalGuardEncoding.hh.

◆ instance_

NullUnconditionalGuardEncoding NullUnconditionalGuardEncoding::instance_
staticprivate

The instance.

Definition at line 60 of file NullUnconditionalGuardEncoding.hh.

Referenced by instance().

◆ moveSlot_

MoveSlot NullUnconditionalGuardEncoding::moveSlot_
staticprivate

The parent move slot.

Definition at line 56 of file NullUnconditionalGuardEncoding.hh.


The documentation for this class was generated from the following files:
UnconditionalGuardEncoding::UnconditionalGuardEncoding
UnconditionalGuardEncoding(bool inverted, unsigned int encoding, GuardField &parent)
Definition: UnconditionalGuardEncoding.cc:58
NullUnconditionalGuardEncoding::guardField_
static GuardField guardField_
The parent guard field.
Definition: NullUnconditionalGuardEncoding.hh:58
NullUnconditionalGuardEncoding::instance_
static NullUnconditionalGuardEncoding instance_
The instance.
Definition: NullUnconditionalGuardEncoding.hh:60