From owner-freebsd-libh Wed Apr 17 6:19:49 2002 Delivered-To: freebsd-libh@freebsd.org Received: from postal.sdsc.edu (postal.sdsc.edu [132.249.20.114]) by hub.freebsd.org (Postfix) with ESMTP id 20B6A37B405 for ; Wed, 17 Apr 2002 06:19:42 -0700 (PDT) Received: from multivac.sdsc.edu (multivac.sdsc.edu [132.249.20.57]) by postal.sdsc.edu (8.11.6/8.11.6/server/36) with ESMTP id g3HDJb701792; Wed, 17 Apr 2002 06:19:37 -0700 (PDT) Received: by multivac (8.11.6+Sun/1.11-SolarisClient) id g3HDJbD10776; Wed, 17 Apr 2002 06:19:37 -0700 (PDT) To: freebsd-libh@FreeBSD.ORG Subject: cleanup of HSystem 2nd try (stage 6) From: Max Okumoto Date: 17 Apr 2002 06:19:37 -0700 Message-ID: Lines: 61 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * 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