Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AxisTick.cxx

Go to the documentation of this file.
00001 /* HippoPlot AxisTick  class implementation
00002  *
00003  * Copyright (C)  2000  The Board of Trustees of The Leland Stanford
00004  * Junior University.  All Rights Reserved.
00005  *
00006  * $Id: AxisTick.cxx,v 1.8 2004/05/02 17:18:34 pfkeb Exp $
00007  */
00008 
00009 // for dll interface warning
00010 #ifdef _MSC_VER
00011 #include "msdevstudio/MSconfig.h"
00012 #endif
00013 
00014 #include "AxisTick.h"
00015 
00016 using std::string;
00017 
00018 AxisTick::AxisTick ( ) :
00019   m_v ( 0 ),
00020   m_c ( "" )
00021 {
00022 }
00023 
00024 AxisTick::AxisTick ( const AxisTick & at ) :
00025   m_v ( at.m_v ),
00026   m_c ( at.m_c )
00027 {
00028 }
00029 
00030 AxisTick::AxisTick ( double v, const std::string & s ) : 
00031   m_v ( v ), 
00032   m_c ( s )
00033 {
00034 }
00035 
00036 double
00037 AxisTick::value ( ) const
00038 {
00039   return m_v;
00040 }
00041 
00042 void
00043 AxisTick::setValue ( double v )
00044 {
00045   m_v = v;
00046 }
00047 
00048 const string & 
00049 AxisTick::content ( ) const
00050 {
00051   return m_c;
00052 }
00053 
00054 void
00055 AxisTick::setContent ( const std::string & s )
00056 {
00057   m_c = s;
00058 }
00059 

Generated for HippoDraw-1.14.8.5 by doxygen 1.4.3