vrmlproc & togeom
 
Loading...
Searching...
No Matches
vrml_proc::core::Object Class Referenceabstract

Base abstract class in the class hiearchy. More...

#include <Object.hpp>

Inheritance diagram for vrml_proc::core::Object:
vrml_proc::core::utils::Range< vrml_proc::parser::model::float32_t > vrml_proc::core::utils::Range< T > vrml_proc::parser::model::Vec3f

Public Member Functions

virtual ~Object ()=default
 Virtual destructor.
 
virtual std::string ToString () const =0
 Returns string representation of a given object.
 

Protected Member Functions

 Object ()
 Publicly hiddent constrcutor.
 

Friends

std::ostream & operator<< (std::ostream &os, const Object &obj)
 Helper method to allow derived classes from Object to use '<<' operator.
 

Detailed Description

Base abstract class in the class hiearchy.

Should provide basic functionality as methods ToString(), GetHashCode(), Equals(), Copy(), Move() etc.

Member Function Documentation

◆ ToString()

virtual std::string vrml_proc::core::Object::ToString ( ) const
pure virtual

Returns string representation of a given object.

Returns
string representation

Implemented in vrml_proc::core::utils::Range< T >, vrml_proc::core::utils::Range< vrml_proc::parser::model::float32_t >, and vrml_proc::parser::model::Vec3f.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const Object & obj )
friend

Helper method to allow derived classes from Object to use '<<' operator.

Parameters
osstream
objobject to print

The documentation for this class was generated from the following file: