#include <AccessPolicyStore.hpp>
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
bool openstudio::model::AccessPolicyStore::loadFile |
( |
openstudio::filesystem::ifstream & |
file | ) |
|
loads an xml with the policy rules
bool openstudio::model::AccessPolicyStore::loadFile |
( |
const openstudio::path & |
path | ) |
|
bool openstudio::model::AccessPolicyStore::loadFile |
( |
const QByteArray & |
data | ) |
|