Diff for /parser3/src/doc/ClassExample2.dox between versions 1.2 and 1.4

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

Removed from v.1.2  
changed lines
  Added in v.1.4


E-mail: