33#ifndef TTA_SOCKET_CODE_TABLE_HH
34#define TTA_SOCKET_CODE_TABLE_HH
76 std::string
name()
const;
89 bool hasFUPortCode(
const std::string& fu,
const std::string& port)
const;
91 const std::string& fu,
const std::string& port,
92 const std::string& operation)
const;
94 const std::string& fu,
const std::string& port)
const;
96 const std::string& fu,
const std::string& port,
97 const std::string& operation)
const;
FUPortCode & fuPortCode(int index) const
static const std::string OSKEY_EXTRA_BITS
ObjectState attribute key for the number of extra bits.
void setName(const std::string &name)
void addFUPortCode(FUPortCode &code)
void setExtraBits(int bits)
int portCodeCount() const
std::vector< FUPortCode * > FUPortCodeTable
Container type for FU port codes.
virtual ~SocketCodeTable()
int extraBits_
The number of extra bits.
void removeReferences(SlotField &field) const
void removeFUPortCode(FUPortCode &code)
RFPortCode & rfPortCode(int index) const
virtual void loadState(const ObjectState *state)
void removeIUPortCode(IUPortCode &code)
bool hasRFPortCode(const std::string ®File) const
static const std::string OSKEY_NAME
ObjectState attribute key for name of the table.
int fuPortCodeCount() const
std::string name_
Name of the table.
PortCode & portCode(int index) const
std::vector< IUPortCode * > IUPortCodeTable
Container type for IU port codes.
bool hasIUPortCode(const std::string &immediateUnit) const
IUPortCode & iuPortCode(int index) const
static const std::string OSNAME_SOCKET_CODE_TABLE
ObjectState name for socket code table.
int rfPortCodeCount() const
bool hasRFOrIUPortCodeWithoutEncoding() const
bool hasFUPortCode(const std::string &fu, const std::string &port) const
void addIUPortCode(IUPortCode &code)
bool hasParentSCTable(const std::string &name) const
virtual ObjectState * saveState() const
void addRFPortCode(RFPortCode &code)
int iuPortCodeCount() const
BinaryEncoding * parent() const
void removeRFPortCode(RFPortCode &code)
FUPortCodeTable fuPortCodes_
FU port codes.
bool containsPortCode() const
BinaryEncoding * parent_
The parent binary encoding map.
RFPortCodeTable rfPortCodes_
RF port codes.
IUPortCodeTable iuPortCodes_
IU port codes.
std::vector< RFPortCode * > RFPortCodeTable
Container type for RF port codes.