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>
Include dependency graph for StackInstance.cpp:

Defines

#define INSTANTIATE(var, createFunc)
#define VALIDATE_SECURITY_CONTEXT

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");

Generated on 2 Feb 2013 for dmlite by  doxygen 1.6.1