--- parser3/src/doc/ClassExample2.dox 2001/05/07 13:29:54 1.2 +++ parser3/src/doc/ClassExample2.dox 2002/04/17 14:26:12 1.4 @@ -12,10 +12,9 @@ class VExample2 : public Value { public: // Value - // all: for error reporting after fail(), etc const char *type() const { return "example2"; } - // VEnv: field + /// VEnv: field Value *get_element(const String& aname) { // показания датчика double temperature=25; @@ -38,4 +37,9 @@ public: // usage classes().put(*NEW String(pool(), EXAMPLE2_CLASS_NAME), &example2); @endcode +Пользователь сможет считать температуру так: +@verbatim +$example2:test +@endverbatim + */