/media/hdb5/canorusNightlyBuildSystem/trunk/src/core/barline.h

Go to the documentation of this file.
00001 
00009 #ifndef BARLINE_H_
00010 #define BARLINE_H_
00011 
00012 #include "core/muselement.h"
00013 
00014 class CAStaff;
00015 
00016 class CABarline : public CAMusElement{
00017 public:
00018         enum CABarlineType {
00019                 Undefined = -1,
00020                 Single,
00021                 Double,
00022                 End,
00023                 RepeatOpen,
00024                 RepeatClose,
00025                 RepeatCloseOpen,
00026                 Dotted
00027         };
00028         
00029         CABarline(CABarlineType type, CAStaff *staff, int startTime);           
00030         virtual ~CABarline();
00031         
00032         CABarline *clone();
00033         int compare(CAMusElement* elt);
00034         
00035         CABarlineType barlineType() { return _barlineType; }            
00036         void setBarlineType( CABarlineType t ) { _barlineType = t; }
00037         
00038         static const QString barlineTypeToString( CABarlineType );
00039         static CABarlineType barlineTypeFromString( const QString );
00040         
00041 private:        
00042         CABarlineType _barlineType;
00043 };
00044 #endif /* BARLINE_H_ */

Generated on Sat Feb 9 13:06:25 2008 for Canorus by  doxygen 1.5.3