summaryrefslogtreecommitdiff
path: root/TAO/CIAO/tools/Config_Handlers/Dump_Obj.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/tools/Config_Handlers/Dump_Obj.h')
-rw-r--r--TAO/CIAO/tools/Config_Handlers/Dump_Obj.h88
1 files changed, 44 insertions, 44 deletions
diff --git a/TAO/CIAO/tools/Config_Handlers/Dump_Obj.h b/TAO/CIAO/tools/Config_Handlers/Dump_Obj.h
index 954fea46aa7..d8e90351ad1 100644
--- a/TAO/CIAO/tools/Config_Handlers/Dump_Obj.h
+++ b/TAO/CIAO/tools/Config_Handlers/Dump_Obj.h
@@ -1,11 +1,11 @@
//==================================================================
/**
- * @file Dump_Obj.h
- *
- * $Id$
- *
- * @author Gan Deng <gan.deng@vanderbilt.edu>
- */
+* @file Dump_Obj.h
+*
+* $Id$
+*
+* @author Gan Deng <gan.deng@vanderbilt.edu>
+*/
//=====================================================================
#ifndef CIAO_DUMP_OBJ_H
@@ -24,52 +24,52 @@
namespace Deployment
{
- /*
- * @brief class Dump_Obj handles the indentation and keeps a map of
- * structures for reference look-up.
- */
- class Config_Handlers_Export Dump_Obj
- {
- public:
- /// Exception thrown when there is a node with the same name in the
- /// map
- class Node_Exist { };
+/*
+* @brief class Dump_Obj handles the indentation and keeps a map of
+* structures for reference look-up.
+*/
+class Config_Handlers_Export Dump_Obj
+{
+public:
+/// Exception thrown when there is a node with the same name in the
+/// map
+class Node_Exist { };
- /// Exception thrown when there is no node with the name given in
- /// the map
- class Node_Not_Exist { };
+/// Exception thrown when there is no node with the name given in
+/// the map
+class Node_Not_Exist { };
- /// Constructors prints out the caption and increases indent
- Dump_Obj (const char *caption);
+/// Constructors prints out the caption and increases indent
+Dump_Obj (const char *caption);
- /// Additionally insets <val> into the map
- Dump_Obj (const char* caption,
- CORBA::Any &val);
+/// Additionally insets <val> into the map
+Dump_Obj (const char* caption,
+CORBA::Any &val);
- // Destructor
- ~Dump_Obj (void);
- // return the indent string
- static const char* indent()
- {
- return indent_.c_str();
- }
+// Destructor
+~Dump_Obj (void);
+// return the indent string
+static const char* indent()
+{
+return indent_.c_str();
+}
- static CORBA::Any& desc(const char* caption)
- {
- return desc_map_[caption];
- }
+static CORBA::Any& desc(const char* caption)
+{
+return desc_map_[caption];
+}
- private:
- // indent string
- static std::string indent_;
+private:
+// indent string
+static std::string indent_;
- // map for reference lookup
- static std::map<std::string, CORBA::Any> desc_map_;
+// map for reference lookup
+static std::map<std::string, CORBA::Any> desc_map_;
- // descriptor - used by destructor for deleting the
- // correct descriptor from the map
- std::string desc_;
- };
+// descriptor - used by destructor for deleting the
+// correct descriptor from the map
+std::string desc_;
+};
}
#include /**/ "ace/post.h"