Go to the documentation of this file.
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;
void removeReferences(SlotField &field) const
int rfPortCodeCount() const
RFPortCodeTable rfPortCodes_
RF port codes.
SocketCodeTable(const std::string &name, BinaryEncoding &parent)
void addIUPortCode(IUPortCode &code)
std::vector< FUPortCode * > FUPortCodeTable
Container type for FU port codes.
FUPortCode & fuPortCode(int index) const
bool containsPortCode() const
bool hasRFPortCode(const std::string ®File) const
void removeRFPortCode(RFPortCode &code)
void setExtraBits(int bits)
RFPortCode & rfPortCode(int index) const
int fuPortCodeCount() const
FUPortCodeTable fuPortCodes_
FU port codes.
int portCodeCount() const
void removeIUPortCode(IUPortCode &code)
virtual ObjectState * saveState() const
BinaryEncoding * parent() const
virtual void loadState(const ObjectState *state)
std::vector< RFPortCode * > RFPortCodeTable
Container type for RF port codes.
IUPortCode & iuPortCode(int index) const
bool hasFUPortCode(const std::string &fu, const std::string &port) const
bool hasRFOrIUPortCodeWithoutEncoding() const
bool hasIUPortCode(const std::string &immediateUnit) const
static const std::string OSKEY_NAME
ObjectState attribute key for name of the table.
void setName(const std::string &name)
void addFUPortCode(FUPortCode &code)
BinaryEncoding * parent_
The parent binary encoding map.
int iuPortCodeCount() const
std::string name_
Name of the table.
IUPortCodeTable iuPortCodes_
IU port codes.
static const std::string OSNAME_SOCKET_CODE_TABLE
ObjectState name for socket code table.
PortCode & portCode(int index) const
bool hasParentSCTable(const std::string &name) const
std::vector< IUPortCode * > IUPortCodeTable
Container type for IU port codes.
int extraBits_
The number of extra bits.
virtual ~SocketCodeTable()
void addRFPortCode(RFPortCode &code)
static const std::string OSKEY_EXTRA_BITS
ObjectState attribute key for the number of extra bits.
void removeFUPortCode(FUPortCode &code)