OpenASIP
2.0
|
#include <NullSocketCodeTable.hh>
Static Public Member Functions | |
static NullSocketCodeTable & | instance () |
Private Member Functions | |
NullSocketCodeTable () | |
virtual | ~NullSocketCodeTable () |
Static Private Attributes | |
static NullSocketCodeTable | instance_ |
The only instance. More... | |
static BinaryEncoding | bem_ |
The parent binary encoding. More... | |
Additional Inherited Members | |
Public Member Functions inherited from SocketCodeTable | |
SocketCodeTable (const std::string &name, BinaryEncoding &parent) | |
SocketCodeTable (const ObjectState *state, BinaryEncoding &parent) | |
virtual | ~SocketCodeTable () |
BinaryEncoding * | parent () const |
std::string | name () const |
void | setName (const std::string &name) |
void | setExtraBits (int bits) |
int | extraBits () const |
int | width () const |
int | maxCodeWidth () const |
void | addFUPortCode (FUPortCode &code) |
void | removeFUPortCode (FUPortCode &code) |
int | fuPortCodeCount () const |
FUPortCode & | fuPortCode (int index) const |
bool | hasFUPortCode (const std::string &fu, const std::string &port) const |
bool | hasFUPortCode (const std::string &fu, const std::string &port, const std::string &operation) const |
FUPortCode & | fuPortCode (const std::string &fu, const std::string &port) const |
FUPortCode & | fuPortCode (const std::string &fu, const std::string &port, const std::string &operation) const |
void | addRFPortCode (RFPortCode &code) |
void | removeRFPortCode (RFPortCode &code) |
int | rfPortCodeCount () const |
RFPortCode & | rfPortCode (int index) const |
bool | hasRFPortCode (const std::string ®File) const |
RFPortCode & | rfPortCode (const std::string ®File) const |
void | addIUPortCode (IUPortCode &code) |
void | removeIUPortCode (IUPortCode &code) |
int | iuPortCodeCount () const |
IUPortCode & | iuPortCode (int index) const |
bool | hasIUPortCode (const std::string &immediateUnit) const |
IUPortCode & | iuPortCode (const std::string &immediateUnit) const |
int | portCodeCount () const |
PortCode & | portCode (int index) const |
virtual void | loadState (const ObjectState *state) |
virtual ObjectState * | saveState () const |
Public Member Functions inherited from Serializable | |
virtual | ~Serializable () |
Static Public Attributes inherited from SocketCodeTable | |
static const std::string | OSNAME_SOCKET_CODE_TABLE = "sc_table" |
ObjectState name for socket code table. More... | |
static const std::string | OSKEY_NAME = "name" |
ObjectState attribute key for name of the table. More... | |
static const std::string | OSKEY_EXTRA_BITS = "extra_bits" |
ObjectState attribute key for the number of extra bits. More... | |
A null version of SocketCodeTable class.
Definition at line 41 of file NullSocketCodeTable.hh.
|
private |
|
privatevirtual |
|
static |
Returns the only instance of NullSocketCodeTable.
Definition at line 59 of file NullSocketCodeTable.cc.
References instance_.
Referenced by SocketEncoding::socketCodes(), BinaryEncoding::socketCodeTable(), and SocketEncoding::SocketEncoding().
|
staticprivate |
The parent binary encoding.
Definition at line 52 of file NullSocketCodeTable.hh.
|
staticprivate |