All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
openfluid::base::ProjectManager Class Reference

#include <base/ProjectManager.hpp>

Public Member Functions

 ~ProjectManager ()
 
std::string getPath () const
 
std::string getName () const
 
void setName (const std::string &Name)
 
std::string getDescription () const
 
void setDescription (const std::string &Description)
 
std::string getAuthors () const
 
void setAuthors (const std::string &Authors)
 
std::string getCreationDate () const
 
void setCreationDate (const std::string &CreationDate)
 
void setCreationDateAsNow ()
 
std::string getLastModDate () const
 
void setLastModDate (const std::string &LastModDate)
 
std::string getOutputDir ()
 
std::string getInputDir () const
 
bool isIncrementalOutputDir () const
 
void setIncrementalOutputDir (const bool Inc)
 
bool open (const std::string &Path)
 
bool create (const std::string &Path, const std::string &Name, const std::string &Description, const std::string &Authors, const bool Inc)
 
bool isOpened () const
 
bool save ()
 
void close ()
 
void updateOutputDir ()
 
QVariant getConfigValue (const QString &Group, const QString &Key) const
 
void setConfigValue (const QString &Group, const QString &Key, const QVariant &Value)
 

Static Public Member Functions

static ProjectManagergetInstance ()
 
static bool isProject (const std::string &Path)
 
static bool getProjectInfos (const std::string &Path, std::string &Name, std::string &Description, std::string &Authors, std::string &CreationDate, std::string &LastModDate)
 

Constructor & Destructor Documentation

openfluid::base::ProjectManager::~ProjectManager ( )

Member Function Documentation

void openfluid::base::ProjectManager::close ( )
bool openfluid::base::ProjectManager::create ( const std::string &  Path,
const std::string &  Name,
const std::string &  Description,
const std::string &  Authors,
const bool  Inc 
)
std::string openfluid::base::ProjectManager::getAuthors ( ) const
inline
QVariant openfluid::base::ProjectManager::getConfigValue ( const QString &  Group,
const QString &  Key 
) const
std::string openfluid::base::ProjectManager::getCreationDate ( ) const
inline
std::string openfluid::base::ProjectManager::getDescription ( ) const
inline
std::string openfluid::base::ProjectManager::getInputDir ( ) const
inline
static ProjectManager* openfluid::base::ProjectManager::getInstance ( )
static
std::string openfluid::base::ProjectManager::getLastModDate ( ) const
inline
std::string openfluid::base::ProjectManager::getName ( ) const
inline
std::string openfluid::base::ProjectManager::getOutputDir ( )
inline
std::string openfluid::base::ProjectManager::getPath ( ) const
inline
static bool openfluid::base::ProjectManager::getProjectInfos ( const std::string &  Path,
std::string &  Name,
std::string &  Description,
std::string &  Authors,
std::string &  CreationDate,
std::string &  LastModDate 
)
static
bool openfluid::base::ProjectManager::isIncrementalOutputDir ( ) const
inline
bool openfluid::base::ProjectManager::isOpened ( ) const
inline
static bool openfluid::base::ProjectManager::isProject ( const std::string &  Path)
static
bool openfluid::base::ProjectManager::open ( const std::string &  Path)
bool openfluid::base::ProjectManager::save ( )
void openfluid::base::ProjectManager::setAuthors ( const std::string &  Authors)
inline
void openfluid::base::ProjectManager::setConfigValue ( const QString &  Group,
const QString &  Key,
const QVariant &  Value 
)
void openfluid::base::ProjectManager::setCreationDate ( const std::string &  CreationDate)
inline
void openfluid::base::ProjectManager::setCreationDateAsNow ( )
inline
void openfluid::base::ProjectManager::setDescription ( const std::string &  Description)
inline
void openfluid::base::ProjectManager::setIncrementalOutputDir ( const bool  Inc)
inline
void openfluid::base::ProjectManager::setLastModDate ( const std::string &  LastModDate)
inline
void openfluid::base::ProjectManager::setName ( const std::string &  Name)
inline
void openfluid::base::ProjectManager::updateOutputDir ( )

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