summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/PropertiesI.h
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-06-24 18:49:27 +0000
committerMarc Laukien <marc@zeroc.com>2002-06-24 18:49:27 +0000
commit1cb9977463f5a832b3f6daea8a2322d38dbba423 (patch)
treed1ae4045c5fa9a7124201510df3ad5b7211788cb /cpp/src/Ice/PropertiesI.h
parentAdded checks to disallow definition of a name in a derived class/interface (diff)
downloadice-1cb9977463f5a832b3f6daea8a2322d38dbba423.tar.bz2
ice-1cb9977463f5a832b3f6daea8a2322d38dbba423.tar.xz
ice-1cb9977463f5a832b3f6daea8a2322d38dbba423.zip
unix format
Diffstat (limited to 'cpp/src/Ice/PropertiesI.h')
-rw-r--r--cpp/src/Ice/PropertiesI.h108
1 files changed, 54 insertions, 54 deletions
diff --git a/cpp/src/Ice/PropertiesI.h b/cpp/src/Ice/PropertiesI.h
index 954e3d37d75..da843b70611 100644
--- a/cpp/src/Ice/PropertiesI.h
+++ b/cpp/src/Ice/PropertiesI.h
@@ -1,54 +1,54 @@
-// **********************************************************************
-//
-// Copyright (c) 2001
-// MutableRealms, Inc.
-// Huntsville, AL, USA
-//
-// All Rights Reserved
-//
-// **********************************************************************
-
-#ifndef ICE_PROPERTIES_I_H
-#define ICE_PROPERTIES_I_H
-
-#include <IceUtil/Mutex.h>
-#include <Ice/Properties.h>
-#include <set>
-
-namespace Ice
-{
-
-class ICE_API PropertiesI : public Properties, public IceUtil::Mutex
-{
-public:
-
- virtual std::string getProperty(const std::string&);
- virtual std::string getPropertyWithDefault(const std::string&, const std::string&);
- virtual Ice::Int getPropertyAsInt(const std::string&);
- virtual Ice::Int getPropertyAsIntWithDefault(const std::string&, Ice::Int);
- virtual PropertyDict getPropertiesForPrefix(const std::string&);
- virtual void setProperty(const std::string&, const std::string&);
- virtual StringSeq getCommandLineOptions();
- virtual StringSeq parseCommandLineOptions(const std::string&, const StringSeq&);
- virtual void load(const std::string&);
- virtual PropertiesPtr clone();
-
-private:
-
- PropertiesI();
- PropertiesI(StringSeq&);
- PropertiesI(int&, char*[]);
- friend ICE_API PropertiesPtr createProperties();
- friend ICE_API PropertiesPtr createProperties(StringSeq&);
- friend ICE_API PropertiesPtr createProperties(int&, char*[]);
-
- void parseLine(const std::string&);
-
- void loadConfig();
-
- std::map<std::string, std::string> _properties;
-};
-
-}
-
-#endif
+// **********************************************************************
+//
+// Copyright (c) 2001
+// MutableRealms, Inc.
+// Huntsville, AL, USA
+//
+// All Rights Reserved
+//
+// **********************************************************************
+
+#ifndef ICE_PROPERTIES_I_H
+#define ICE_PROPERTIES_I_H
+
+#include <IceUtil/Mutex.h>
+#include <Ice/Properties.h>
+#include <set>
+
+namespace Ice
+{
+
+class ICE_API PropertiesI : public Properties, public IceUtil::Mutex
+{
+public:
+
+ virtual std::string getProperty(const std::string&);
+ virtual std::string getPropertyWithDefault(const std::string&, const std::string&);
+ virtual Ice::Int getPropertyAsInt(const std::string&);
+ virtual Ice::Int getPropertyAsIntWithDefault(const std::string&, Ice::Int);
+ virtual PropertyDict getPropertiesForPrefix(const std::string&);
+ virtual void setProperty(const std::string&, const std::string&);
+ virtual StringSeq getCommandLineOptions();
+ virtual StringSeq parseCommandLineOptions(const std::string&, const StringSeq&);
+ virtual void load(const std::string&);
+ virtual PropertiesPtr clone();
+
+private:
+
+ PropertiesI();
+ PropertiesI(StringSeq&);
+ PropertiesI(int&, char*[]);
+ friend ICE_API PropertiesPtr createProperties();
+ friend ICE_API PropertiesPtr createProperties(StringSeq&);
+ friend ICE_API PropertiesPtr createProperties(int&, char*[]);
+
+ void parseLine(const std::string&);
+
+ void loadConfig();
+
+ std::map<std::string, std::string> _properties;
+};
+
+}
+
+#endif