|
| Text () |
| Initialises the packet to the empty string. More...
|
|
| Text (const std::string &newText) |
| Initialises the packet to the given string. More...
|
|
| Text (const char *newText) |
| Initialises the packet to the given string. More...
|
|
const std::string & | text () const |
| Returns the string stored in the packet. More...
|
|
void | setText (const std::string &newText) |
| Sets the packet data to the given string. More...
|
|
void | setText (const char *newText) |
| Sets the packet data to the given string. More...
|
|
virtual void | writeTextShort (std::ostream &out) const override |
| Writes a short text representation of this object to the given output stream. More...
|
|
virtual void | writeTextLong (std::ostream &out) const override |
| Writes a detailed text representation of this object to the given output stream. More...
|
|
virtual bool | dependsOnParent () const override |
| Determines if this packet depends upon its parent. More...
|
|
std::string | str () const |
| Returns a short text representation of this object. More...
|
|
std::string | utf8 () const |
| Returns a short text representation of this object using unicode characters. More...
|
|
std::string | detail () const |
| Returns a detailed text representation of this object. More...
|
|
bool | hasSafePtr () const |
| Is there one or more SafePtr currently pointing to this object? More...
|
|
|
bool | save (const char *filename, bool compressed=true) const |
| Saves the subtree rooted at this packet to the given Regina data file, using Regina's native XML file format. More...
|
|
bool | save (std::ostream &s, bool compressed=true) const |
| Writes the subtree rooted at this packet to the given output stream, in the format of a Regina XML data file. More...
|
|
void | writeXMLFile (std::ostream &out) const |
| Writes the subtree rooted at this packet to the given output stream in Regina's native XML file format. More...
|
|
std::string | internalID () const |
| Returns a unique string ID that identifies this packet. More...
|
|
bool | hasOwner () const |
| Indicates whether some other object in the calculation engine is responsible for ultimately destroying this object. More...
|
|
void | writeXMLPacketTree (std::ostream &out) const |
| Writes a chunk of XML containing the subtree with this packet as matriarch. More...
|
|
A packet representing a text string.