Main Page Class Hierarchy Compound List File List Compound Members File Members

# oracleconfigsource.h

Go to the documentation of this file.

    00001 // dbconfigsource.h: interface for the DBConfigSource class.
    00002 //
    00004
    00005 #if !defined(_ORACLECONFIGSOURCE_H__INCLUDED_)
    00006 #define _ORACLECONFIGSOURCE_H__INCLUDED_
    00007
    00008 #if _MSC_VER > 1000
    00009 #pragma once
    00010 #endif // _MSC_VER > 1000
    00011
    00012 #include "configsource.h"
    00013 #pragma warning(disable:4786)
    00014 #include <string>
    00015 #include <vector>
    00016 #include <worm_exceptions.h>
    00017
    00018
    00019 class OracleConfigSource : public ConfigSource
    00020 {
    00021 protected:
    00022
    00023    std::vector<std::string> CommandLines;
    00024
    00025    int         CurrentLineIndex; // index into CommandLines
    00026
    00027 public:
    00028
    00029         OracleConfigSource();
    00030
    00031    // throws worm_exception for errors
    00032    //
    00033    bool LoadFromDB( int  p_servertype
    00034                   , int  p_originId = -1 // -1 means return defaults for p_servertype
    00035                   );
    00036
    00037    int  ReadLine();
    00038
    00039 };
    00040
    00041 #endif // !defined(_ORACLECONFIGSOURCE_H__INCLUDED_)