UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
hds::db::Project Class Referenceabstract

#include <project.hpp>

Inheritance diagram for hds::db::Project:
hds::db::Object hds::db::ProjectQSql

Public Member Functions

 Project ()
 
virtual ~Project ()
 
virtual ErrCode setCreator (const std::string &creator_str)=0
 
virtual std::string creator (ErrCode *rc=NULL) const =0
 
virtual ErrCode setDescription (const std::string &descr_str)=0
 
virtual std::string description (ErrCode *rc=NULL) const =0
 
- Public Member Functions inherited from hds::db::Object
 Object ()
 
virtual ~Object ()
 
virtual ErrCode open (const std::string &name, OpenMode mode)=0
 
virtual OpenMode openMode () const
 
virtual ErrCode close ()=0
 
virtual ErrCode flush ()=0
 
virtual std::string name (ErrCode *rc=NULL) const =0
 
virtual ErrCode setName (const std::string &name_str)=0
 
virtual ErrCode remove (const std::string &name)=0
 
virtual ErrCode getList (Names &list) const =0
 
virtual bool exists (const std::string &name, ErrCode *rc=NULL) const
 
virtual size_t dataSize (const std::string &name, ErrCode *rc=NULL) const =0
 
virtual time_t creationTime (const std::string &name, ErrCode *rc=NULL) const =0
 
virtual time_t modificationTime (const std::string &name, ErrCode *rc=NULL) const =0
 

Additional Inherited Members

- Public Types inherited from hds::db::Object
typedef std::vector< std::string > Names
 
- Protected Attributes inherited from hds::db::Object
OpenMode m_cur_open_mode
 

Detailed Description

Interface for project description.

Constructor & Destructor Documentation

hds::db::Project::Project ( )

Default constructor.

virtual hds::db::Project::~Project ( )
virtual

Destructor.

Member Function Documentation

virtual std::string hds::db::Project::creator ( ErrCode rc = NULL) const
pure virtual
Get creator of the project. 

rc will be EC_NO_ERROR if all correct, otherwise correspondent error code.

Implemented in hds::db::ProjectQSql.

virtual std::string hds::db::Project::description ( ErrCode rc = NULL) const
pure virtual
Get description of the project. 

rc will be EC_NO_ERROR if all correct, otherwise correspondent error code.

Implemented in hds::db::ProjectQSql.

virtual ErrCode hds::db::Project::setCreator ( const std::string &  creator_str)
pure virtual
Set creator of the project. 

Return EC_NO_ERROR if all correct, otherwise return correspondent error code.

Implemented in hds::db::ProjectQSql.

virtual ErrCode hds::db::Project::setDescription ( const std::string &  descr_str)
pure virtual
Set description of the project. 

Return EC_NO_ERROR if all correct, otherwise return correspondent error code.

Implemented in hds::db::ProjectQSql.


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