#include <AccessPolicyStore.hpp>
Public Member Functions | |
const AccessPolicy * | getPolicy (const openstudio::IddObjectType &) const |
bool | loadFile (QFile &file) |
bool | loadFile (const openstudio::path &path) |
Static Public Member Functions | |
static AccessPolicyStore & | Instance () |
This class is a simple singleton that stores AccessPolicy for ModelObjects
const AccessPolicy* openstudio::model::AccessPolicyStore::getPolicy | ( | const openstudio::IddObjectType & | ) | const |
Each IddObjectType has a uniqueAcessPolicy. This function will retrieve it
|
static |
bool openstudio::model::AccessPolicyStore::loadFile | ( | QFile & | file | ) |
loads an xml with the policy rules
bool openstudio::model::AccessPolicyStore::loadFile | ( | const openstudio::path & | path | ) |