ess_object - RoseLeBlood/openess GitHub Wiki

OpenESS Object

source file: ess_object.h

class ess_object

Basic class for all OpenESS objects - handle the name and virtual functions for to_string and from_string

public construtor

basic constructor - name of the object is `ess_object`
  • ess_object()

extended constructor - name of the object is name
name param [in] the name of the object
  • ess_object(std::string name)

public functions

return the name of the object
  • std::string get_name()

the the name of the object
name param [in] the new name of the object
  • void set_name(const std::string name)

object to string - virtual
  • virtual std::string to_string()

convert string to object - @see set_name
  • void from_string(const std::string str)