StackInstance.cpp File Reference
Implementation of dm::StackInstance.
More...
#include <dmlite/cpp/authn.h>
#include <dmlite/cpp/catalog.h>
#include <dmlite/cpp/dmlite.h>
#include <dmlite/cpp/inode.h>
#include <dmlite/cpp/io.h>
#include <dmlite/cpp/poolmanager.h>
Detailed Description
Implementation of dm::StackInstance.
- Author:
- Alejandro Álvarez Ayllón <aalvarez@cern.ch>
Define Documentation
#define INSTANTIATE |
( |
var, |
|
|
createFunc |
|
) |
|
Value:try {\
var = createFunc;\
}\
catch (DmException& e) {\
if (e.code() != DM_NO_FACTORY)\
throw;\
var = 0;\
}
#define VALIDATE_SECURITY_CONTEXT |
Value:if (this->secCtx_ == 0)\
throw DmException(DM_NO_SECURITY_CONTEXT,\
"setSecurityContext or setSecurityCredentials must be called before accessing the instances");