Date: 17 Apr 2002 06:19:37 -0700 From: Max Okumoto <okumoto@ucsd.edu> To: freebsd-libh@FreeBSD.ORG Subject: cleanup of HSystem 2nd try (stage 6) Message-ID: <hf3cxu5uom.fsf@multivac.sdsc.edu>
next in thread | raw e-mail | index | archive | help
* Corrected spelling and added some parameter comments
Index: include/HSystem.hh
===================================================================
RCS file: /home/libh/cvs/libh/include/HSystem.hh,v
retrieving revision 1.11
diff -u -r1.11 HSystem.hh
--- include/HSystem.hh 2002/04/17 02:36:06 1.11
+++ include/HSystem.hh 2002/04/17 13:17:05
@@ -92,14 +92,18 @@
string gen_method_argument(MethodDesc::Value t, int argno, int method_argno, bool last_arg_in_set_method);
public:
- /** Mame of subsystem.
+ /**
+ * Name of subsystem.
+ *
* @note This should be made private But this would require modifications
- * out side of HSystem.hh.
+ * outside of HSystem.hh.
*/
string name;
/**
* Constructor.
+ *
+ * @param aName Name of subsystem.
*/
HSystem(const string &aName)
: name(aName) {}
@@ -107,6 +111,8 @@
/**
* Copy constructor. XXX This is broken! None of the other state is
* copied!
+ *
+ * @param aHSystem HSystem object to copy.
*/
HSystem(const HSystem &aHSystem)
: name(aHSystem.name) {}
@@ -119,9 +125,9 @@
bool operator<(const HSystem &rhs) const { return name < rhs.name; }
/**
- * Equivilance operator.
+ * Equivalence operator.
*
- * @param rhs Right hand side of the Equivilance operator.
+ * @param rhs Right hand side of the equivalence operator.
*/
bool operator==(const HSystem &rhs) const { return name == rhs.name; }
@@ -141,7 +147,7 @@
}
/**
- * Generate libh subsystem tcl interface text.
+ * Generate libh subsystem TCL interface text.
*
* @param out stream to send text.
*/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-libh" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hf3cxu5uom.fsf>
