|
xlnt - community edition
|
Represents an association between a source Package or part, and a target object which can be a part or external resource. More...
#include <relationship.hpp>
Public Member Functions | |
| relationship () | |
| Constructs a new empty relationship. More... | |
| relationship (const std::string &id, relationship_type t, const uri &source, const uri &target, xlnt::target_mode mode) | |
| Constructs a new relationship by specifying all of its properties. More... | |
| const std::string & | id () const |
| Returns a string of the form rId# that identifies the relationship. More... | |
| relationship_type | type () const |
| Returns the type of this relationship. More... | |
| xlnt::target_mode | target_mode () const |
| Returns whether the target of the relationship is internal or external to the package. More... | |
| const uri & | source () const |
| Returns the URI of the package part this relationship points to. More... | |
| const uri & | target () const |
| Returns the URI of the package part this relationship points to. More... | |
| bool | operator== (const relationship &rhs) const |
| Returns true if and only if rhs is equal to this relationship. More... | |
| bool | operator!= (const relationship &rhs) const |
| Returns true if and only if rhs is not equal to this relationship. More... | |
Represents an association between a source Package or part, and a target object which can be a part or external resource.
| xlnt::relationship::relationship | ( | ) |
Constructs a new empty relationship.
| xlnt::relationship::relationship | ( | const std::string & | id, |
| relationship_type | t, | ||
| const uri & | source, | ||
| const uri & | target, | ||
| xlnt::target_mode | mode | ||
| ) |
Constructs a new relationship by specifying all of its properties.
| const std::string& xlnt::relationship::id | ( | ) | const |
Returns a string of the form rId# that identifies the relationship.
| bool xlnt::relationship::operator!= | ( | const relationship & | rhs | ) | const |
Returns true if and only if rhs is not equal to this relationship.
| bool xlnt::relationship::operator== | ( | const relationship & | rhs | ) | const |
Returns true if and only if rhs is equal to this relationship.
| const uri& xlnt::relationship::source | ( | ) | const |
Returns the URI of the package part this relationship points to.
| const uri& xlnt::relationship::target | ( | ) | const |
Returns the URI of the package part this relationship points to.
| xlnt::target_mode xlnt::relationship::target_mode | ( | ) | const |
Returns whether the target of the relationship is internal or external to the package.
| relationship_type xlnt::relationship::type | ( | ) | const |
Returns the type of this relationship.
1.8.13