Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

Bar.hpp

00001 #if   !defined(__BAR_HPP)
00002 #define  __BAR_HPP
00003 /*
00004   CoreLinux++ 
00005   Copyright (C) 2000 CoreLinux Consortium
00006   
00007    The CoreLinux++ Library is free software; you can redistribute it and/or
00008    modify it under the terms of the GNU Library General Public License as
00009    published by the Free Software Foundation; either version 2 of the
00010    License, or (at your option) any later version.
00011 
00012    The CoreLinux++ Library Library is distributed in the hope that it will 
00013    be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015    Library General Public License for more details.
00016 
00017    You should have received a copy of the GNU Library General Public
00018    License along with the GNU C Library; see the file COPYING.LIB.  If not,
00019    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00020    Boston, MA 02111-1307, USA.  
00021 */   
00022 
00023 #if !defined(__COMMON_HPP)
00024 #include <Common.hpp>
00025 #endif 
00026 
00027 DECLARE_CLASS( Bar );
00028 
00037 class Bar
00038 {
00039 
00040 public:
00041 
00043 
00044                      Bar( void );
00045 
00047 
00048                      Bar( CORELINUX(Int) aX, CORELINUX(Int) aY );
00049 
00051 
00052                      Bar( BarCref );
00053 
00055 
00056    virtual           ~Bar( void );
00057 
00058    //
00059    // Operator overloads
00060    //
00061 
00063 
00064             BarRef   operator=( BarCref );
00065 
00067 
00068             bool     operator==( BarCref );
00069 
00070    //
00071    // Accessors
00072    //
00073 
00075 
00076             CORELINUX(IntCref)  getVertical( void ) const;
00077 
00079 
00080             CORELINUX(IntCref)  getHorizontal( void ) const;
00081                      
00082    //
00083    // Mutators
00084    //
00086 
00087             void     setVertical( CORELINUX(Int) );
00088 
00090 
00091             void     setHorizontal( CORELINUX(Int) );
00092 
00093 
00094 protected:
00095 
00096 
00097 private:
00098 
00100 
00101             CORELINUX(Int)      theVertical;
00102 
00104 
00105             CORELINUX(Int)      theHorizontal;
00106 };
00107 
00108 #endif
00109 
00110 /*
00111    Common rcs information do not modify
00112    $Author: frankc $
00113    $Revision: 1.4 $
00114    $Date: 2000/02/10 14:32:20 $
00115    $Locker:  $
00116 */
00117 

This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium