All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions
openfluid::base::ProjectManager Class Reference

#include <base/ProjectManager.hpp>

List of all members.

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


Member Function Documentation

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]
std::string openfluid::base::ProjectManager::getLastModDate ( ) const [inline]
std::string openfluid::base::ProjectManager::getName ( ) const [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]
static bool openfluid::base::ProjectManager::isProject ( const std::string &  Path) [static]
bool openfluid::base::ProjectManager::open ( const std::string &  Path)
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::setDescription ( const std::string &  Description) [inline]
void openfluid::base::ProjectManager::setLastModDate ( const std::string &  LastModDate) [inline]
void openfluid::base::ProjectManager::setName ( const std::string &  Name) [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines