|
Fesapi 2.9.0.1
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
|
#include <FileRelationship.h>
Public Member Functions | |
| FileRelationship () | |
| FileRelationship (const Relationship &frRelationship) | |
| FileRelationship (const std::vector< Relationship > &frRelationship) | |
| ~FileRelationship ()=default | |
| bool | isEmpty () const |
| const std::string & | getPathName () const |
| const std::vector< Relationship > & | getAllRelationship () const |
| Relationship | getIndexRelationship (size_t index) const |
| std::string | toString () const |
| void | setPathName (const std::string &frPathName) |
| void | addRelationship (const Relationship &frRelationship) |
| void | readFromString (const std::string &textInput) |
This class intends to represent any rel file of the package.
|
inline |
CONSTRUCTORS
|
explicit |
Constructor
| frRelationship | The fr relationship. |
|
explicit |
Constructor
| frRelationship | The fr relationship. |
|
default |
Destructor
| void epc::FileRelationship::addRelationship | ( | const Relationship & | frRelationship | ) |
Adds a relationship
| frRelationship | The fr relationship. |
|
inline |
Gets all relationship
| Relationship epc::FileRelationship::getIndexRelationship | ( | size_t | index | ) | const |
Gets index relationship
| index | Zero-based index of the. |
|
inline |
Gets path name
| bool epc::FileRelationship::isEmpty | ( | ) | const |
ACCESSORS
| void epc::FileRelationship::readFromString | ( | const std::string & | textInput | ) |
Read a relationships part from a string.
| textInput | The text input. |
|
inline |
Sets path name
| frPathName | Full pathname of the fr file. |
| std::string epc::FileRelationship::toString | ( | ) | const |
Convert this object into a string representation