|
| | ParityDataField () |
| | Constructor.
|
| |
| virtual | ~ParityDataField () |
| | Destructor.
|
| |
| DataFieldType | getDFType () const override |
| | Get the field type.
|
| |
| void | setPosition (unsigned int position) override |
| | Set the field position in bits.
|
| |
| void | setParityType (ParityType type) |
| | Set the parity type.
|
| |
| ParityType | getParityType () const |
| | Get the parity type.
|
| |
| void | setBitsUsePositions (std::vector< unsigned int > positions) |
| | Set the bits to use positions to calculate parity.
|
| |
| std::vector< unsigned int > | getBitsUsePositions () const |
| | Get the bits to use positions to calculate parity.
|
| |
| bool | checkFieldDependecy (std::shared_ptr< DataField > field) |
| | Check the field dependecy with another one.
|
| |
| BitsetStream | getLinearData (const BitsetStream &data) const override |
| | Get linear data.
|
| |
| void | setLinearData (const ByteVector &data) override |
| | Set linear data.
|
| |
| bool | checkSkeleton (std::shared_ptr< DataField > field) const override |
| | Check the current field skeleton with another field.
|
| |
| void | serialize (boost::property_tree::ptree &parentNode) override |
| | Serialize the current object to XML.
|
| |
| void | unSerialize (boost::property_tree::ptree &node) override |
| | UnSerialize a XML node to the current object.
|
| |
| std::string | getDefaultXmlNodeName () const override |
| | Get the default Xml Node name for this object.
|
| |
| | DataField () |
| | Constructor.
|
| |
| virtual | ~DataField () |
| | Destructor.
|
| |
| virtual unsigned int | getDataLength () const |
| | Get data length in bits.
|
| |
| virtual void | setPosition (unsigned int position) |
| | Set the field position in bits.
|
| |
| unsigned int | getPosition () const |
| | Get the field position in bits.
|
| |
| virtual DataFieldType | getDFType () const =0 |
| | Get the field type.
|
| |
| void | setName (const std::string &name) |
| | Set the field name.
|
| |
| std::string | getName () const |
| | Get the field name.
|
| |
| virtual BitsetStream | getLinearData (const BitsetStream &data) const =0 |
| | Get linear data.
|
| |
| virtual void | setLinearData (const ByteVector &data)=0 |
| | Set linear data.
|
| |
| virtual bool | checkSkeleton (std::shared_ptr< DataField > field) const =0 |
| | Check the current field skeleton with another field.
|
| |
| void | serialize (boost::property_tree::ptree &parentNode) override |
| | Serialize the current object to XML.
|
| |
| void | unSerialize (boost::property_tree::ptree &node) override |
| | UnSerialize a XML node to the current object.
|
| |
| virtual | ~XmlSerializable ()=default |
| |
| virtual std::string | serialize () |
| | Serialize object to Xml Node string.
|
| |
| virtual std::string | serializeWithHeaders () |
| | Serialize object to Xml Node string, with xml headers.
|
| |
| virtual void | serialize (boost::property_tree::ptree &parentNode)=0 |
| | Serialize object to Xml Node.
|
| |
| virtual void | serializeToFile (const std::string &filename) |
| | Serialize object to a Xml file.
|
| |
| virtual void | unSerialize (boost::property_tree::ptree &node)=0 |
| | UnSerialize object from a Xml Node.
|
| |
| virtual void | unSerialize (const std::string &xmlstring, const std::string &rootNode) |
| | UnSerialize object from a Xml Node string.
|
| |
| virtual void | unSerialize (std::istream &is, const std::string &rootNode) |
| | UnSerialize object from a Xml node.
|
| |
| virtual void | unSerialize (boost::property_tree::ptree &node, const std::string &rootNode) |
| | UnSerialize object from a Xml node.
|
| |
| virtual void | unSerializeFromFile (const std::string &filename) |
| | UnSerialize object from a Xml file.
|
| |
| virtual std::string | getDefaultXmlNodeName () const =0 |
| | Get the default Xml Node name for this object.
|
| |