Public Member Functions | Public Attributes

ivd_Directories Class Reference
[Common, basic classes, functions and types]

#include <ivd_dirs.h>

Collaboration diagram for ivd_Directories:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ivd_Directories ()
 ~ivd_Directories ()
void SetLogPath (const string &a_LogPath)

Public Attributes

cmn_Path bin
cmn_Path doc
cmn_Path lbin
cmn_Path lib
cmn_Path man
cmn_Path newconfig
cmn_Path nls
cmn_Path sbin
cmn_Path sbinTools
cmn_Path etc
cmn_Path cfgPart
cmn_Path cfgLib
cmn_Path cfgDrv
cmn_Path cfgDss
cmn_Path cfgPool
cmn_Path cfgSys
cmn_Path diskbuf
cmn_Path fri
cmn_Path dm
cmn_Path lock
cmn_Path log
cmn_Path debug
cmn_Path part
cmn_Path rmdb
cmn_Path tmp
cmn_Path omniOrb
cmn_Path scripts

Detailed Description

Definition at line 36 of file ivd_dirs.h.


Constructor & Destructor Documentation

ivd_Directories::ivd_Directories (  ) 

Definition at line 49 of file ivd_dirs_LNX.cpp.

References IVD_COUT_LOG_m.

    : bin("/opt/" + g_cmn.prod.m_nameShortLC + "/bin/"),
      doc("/opt/" + g_cmn.prod.m_nameShortLC + "/doc/"),
      lbin("/opt/" + g_cmn.prod.m_nameShortLC + "/lbin/"),
      lib("/opt/" + g_cmn.prod.m_nameShortLC + "/lib/"),
      man("/opt/" + g_cmn.prod.m_nameShortLC + "/man/"),
      newconfig("/opt/" + g_cmn.prod.m_nameShortLC + "/newconfig/"),
      nls("/opt/" + g_cmn.prod.m_nameShortLC + "/nls/"),
      sbin("/opt/" + g_cmn.prod.m_nameShortLC + "/sbin/"),
      sbinTools("/opt/" + g_cmn.prod.m_nameShortLC + "/sbin/tools/"),
      etc("/etc/opt/" + g_cmn.prod.m_nameShortLC + "/"),
      cfgPart("/var/opt/" + g_cmn.prod.m_nameShortLC + "/cfg/part/"),
      cfgLib("/var/opt/" + g_cmn.prod.m_nameShortLC + "/cfg/lib/"),
      cfgDrv("/var/opt/" + g_cmn.prod.m_nameShortLC + "/cfg/drv/"),
      cfgDss("/var/opt/" + g_cmn.prod.m_nameShortLC + "/cfg/dss/"),
      cfgPool("/var/opt/" + g_cmn.prod.m_nameShortLC + "/cfg/pool/"),
      cfgSys("/var/opt/" + g_cmn.prod.m_nameShortLC + "/cfg/sys/"),
      diskbuf("/var/opt/" + g_cmn.prod.m_nameShortLC + "/diskbuf/"),
      fri("/var/opt/" + g_cmn.prod.m_nameShortLC + "/fri/"),
      dm("/var/opt/" + g_cmn.prod.m_nameShortLC + "/dm/"),
      lock("/var/opt/" + g_cmn.prod.m_nameShortLC + "/lock/"),
      log("/var/opt/" + g_cmn.prod.m_nameShortLC + "/log/"),
      debug("/var/opt/" + g_cmn.prod.m_nameShortLC + "/log/debug/"),
      part("/var/opt/" + g_cmn.prod.m_nameShortLC + "/part/"),
      rmdb("/var/opt/" + g_cmn.prod.m_nameShortLC + "/rmdb/"),
      tmp("/var/opt/" + g_cmn.prod.m_nameShortLC + "/tmp/"),
      scripts("/var/opt/" + g_cmn.prod.m_nameShortLC + "/scripts/")
{
    IVD_COUT_LOG_m(" ivd_Directories::ivd_Directories() ")
    // Empty
}

ivd_Directories::~ivd_Directories (  ) 

Definition at line 81 of file ivd_dirs_LNX.cpp.

References IVD_COUT_LOG_m.

                                  {
    IVD_COUT_LOG_m(" ivd_Directories::~ivd_Directories() ")
}


Member Function Documentation

void ivd_Directories::SetLogPath ( const string &  a_LogPath  ) 

Definition at line 85 of file ivd_dirs_LNX.cpp.

References debug, and log.

Referenced by HsmApiEnableDebug().

                                                        {
    log = a_LogPath;
    if (log[log.length()-1] != '/'){
        log += "/";
    }
    debug = log;
    debug += "debug/";
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 42 of file ivd_dirs.h.

Definition at line 56 of file ivd_dirs.h.

Referenced by mif_CfgRep::SetPath().

Definition at line 57 of file ivd_dirs.h.

Definition at line 55 of file ivd_dirs.h.

Referenced by mif_CfgRep::SetPath().

Definition at line 58 of file ivd_dirs.h.

Referenced by mif_CfgRep::SetPath().

Definition at line 59 of file ivd_dirs.h.

Referenced by i_ResourceManager_i::i_ResourceManager_i(), and mif_CfgRep::SetPath().

Definition at line 65 of file ivd_dirs.h.

Referenced by log_Debugger::SetFileName(), and SetLogPath().

Definition at line 43 of file ivd_dirs.h.

Definition at line 44 of file ivd_dirs.h.

Referenced by ivd_DD::Run(), and RunOmniNames().

Definition at line 45 of file ivd_dirs.h.

Referenced by main().

Definition at line 63 of file ivd_dirs.h.

Definition at line 46 of file ivd_dirs.h.

Definition at line 47 of file ivd_dirs.h.

Definition at line 48 of file ivd_dirs.h.

Definition at line 70 of file ivd_dirs.h.

Referenced by RunOmniNames().

Definition at line 67 of file ivd_dirs.h.

Definition at line 49 of file ivd_dirs.h.

Definition at line 50 of file ivd_dirs.h.

Definition at line 72 of file ivd_dirs.h.

Referenced by ClientConf_t::Init().


The documentation for this class was generated from the following files: