summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-17 02:36:02 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-17 02:36:02 +0000
commitf8fd1ba9d9754f27e5a883d4e753c681d6e59957 (patch)
tree65fcbb3afed038ce2f6680895aa5bcfa015fe24f
parentb8df2bb6b5a6a7f657aeacb636a550240ec41710 (diff)
downloadATCD-f8fd1ba9d9754f27e5a883d4e753c681d6e59957.tar.gz
Indentation. commenting
-rw-r--r--TAO/orbsvcs/orbsvcs/CosProperty_Hash.h41
1 files changed, 26 insertions, 15 deletions
diff --git a/TAO/orbsvcs/orbsvcs/CosProperty_Hash.h b/TAO/orbsvcs/orbsvcs/CosProperty_Hash.h
index 51070bf9130..22d1619e3cf 100644
--- a/TAO/orbsvcs/orbsvcs/CosProperty_Hash.h
+++ b/TAO/orbsvcs/orbsvcs/CosProperty_Hash.h
@@ -1,15 +1,16 @@
//$Id$
+
+// ===================================================================================================
+// = FILE
+// CosProperty_Hash.h
//
+// = DESCRITION
+// Defines INT_ID and EXT_ID classes for the Hash_Map_Manager to be used in the CosPropertyService.
//
-// FILE
-// CosProperty_Hash.h
-//
-// DESCRITION
-// Defines INT_ID and EXT_ID classes for the Hash_Map_Manager to be used in the CosPropertyService.
-//
-// AUTHOR
-// Alexander B. Arulanthu
-//
+// = AUTHOR
+// Alexander B. Arulanthu
+// ===================================================================================================
+
#if !defined (COSPROPERTY_HASH_H)
#define COSPROPERTY_HASH_H
@@ -21,38 +22,48 @@
class EXT_ID
// Key for the Hash Table
{
-public: // Functions
+public:
+ // Default constructor
EXT_ID ();
+ // Costructor that takes PropertyName
EXT_ID (const CosPropertyService::PropertyName &name);
+ // Copy constructor
//EXT_ID (const EXT_ID &ext_id);
+ // The vital operator for hash binding and "find"ing
virtual int operator == (const EXT_ID &ext_id) const;
+ // The vital function
virtual long unsigned int hash (void) const;
+ // Destructor
virtual ~EXT_ID ();
-public: // Data
+ // This is still the public variable...
CosPropertyService::PropertyName_var pname_;
};
class INT_ID
// This is the Hash Entry
{
-public: // Functions
+public:
+
+ // Default constructor
INT_ID ();
+ // Constructor with Any value
INT_ID (const CORBA::Any &value);
+ // Copy constructor
//INT_ID (const INT_ID &int_id);
-
+
+ // Destructor
virtual ~INT_ID ();
-public: // Data
+ // Public data -- the property value
CORBA::Any pvalue_;
-
};