Changeset 5586f4 in git


Ignore:
Timestamp:
Sep 8, 1997, 12:43:01 PM (26 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
38eab603130b954c28838dc7d34d13ea7784b0ae
Parents:
2dcfbba86f8300d337b4fd51e384791413d74f86
Message:
	* cf_switches.h: doc fix


git-svn-id: file:///usr/local/Singular/svn/trunk@666 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_switches.h

    r2dcfbba r5586f4  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: cf_switches.h,v 1.4 1997-07-23 15:55:19 schmidt Exp $ */
     2/* $Id: cf_switches.h,v 1.5 1997-09-08 10:43:01 schmidt Exp $ */
    33
    44#ifndef INCL_CF_SWITCHES_H
     
    3939//{{{ inline method docu
    4040//
    41 // void On( int s )
    42 // void Off( int s )
    43 // bool isOn( int s )
    44 // bool isOff( int s )
     41// void On ( int s )
     42// void Off ( int s )
     43// bool isOn ( int s )
     44// bool isOff ( int s )
    4545//
    4646// On(), Off() - switch s on or off, resp.
     
    5454    bool switches [CFSwitchesMax];
    5555public:
    56     CFSwitches();
    57     ~CFSwitches() {}
     56    CFSwitches ();
     57    ~CFSwitches () {}
    5858
    59     void On( int s ) { switches[s] = true; }
    60     void Off( int s ) { switches[s] = false; }
    61     bool isOn( int s ) const { return switches[s]; }
    62     bool isOff( int s ) const { return ! switches[s]; }
     59    void On ( int s ) { switches[s] = true; }
     60    void Off ( int s ) { switches[s] = false; }
     61    bool isOn ( int s ) const { return switches[s]; }
     62    bool isOff ( int s ) const { return ! switches[s]; }
    6363};
    6464//}}}
Note: See TracChangeset for help on using the changeset viewer.