#include <shareableobject.h>
Inheritance diagram for regina::ShareableObject:
Public Member Functions | |
ShareableObject () | |
Default constructor that does nothing. | |
virtual | ~ShareableObject () |
Default destructor that does nothing. | |
virtual void | writeTextShort (std::ostream &out) const=0 |
Writes this object in short text format to the given output stream. | |
virtual void | writeTextLong (std::ostream &out) const |
Writes this object in long text format to the given output stream. | |
std::string | toString () const |
Returns the output from writeTextShort() as a string. | |
std::string | toStringLong () const |
Returns the output from writeTextLong() as a string. |
In the underlying C++ engine, a ShareableObject is an object that can be shared with the outside world. In the external interfaces, a ShareableObject is a vacuous wrapper that allows access to the data and methods of the corresponding object in the underlying engine.
See the various interface notes pages for more details regarding using classes derived from ShareableObject.
|
Default constructor that does nothing.
|
|
Default destructor that does nothing.
|
|
Returns the output from writeTextShort() as a string.
|
|
Returns the output from writeTextLong() as a string.
|
|
|
Writes this object in short text format to the given output stream. The output should fit on a single line and no newline should be written.
Implemented in regina::NAbelianGroup, regina::NGroupExpression, regina::NGroupPresentation, regina::NAngleStructure, regina::NAngleStructureList, regina::NFile, regina::NFileInfo, regina::NManifold, regina::NMatrixInt, regina::NContainer, regina::NScript, regina::NText, regina::NProgress, regina::NProgressManager, regina::NSignature, regina::NPillowTwoSphere, regina::NSnappedTwoSphere, regina::NStandardTriangulation, regina::NNormalSurface, regina::NNormalSurfaceList, regina::NSurfaceFilter, regina::NSurfaceSubset, regina::NBoundaryComponent, regina::NComponent, regina::NEdge, regina::NFace, regina::NIsomorphism, regina::NTetrahedron, regina::NTriangulation, and regina::NVertex. |