numeric.h
Go to the documentation of this file.
1 #ifndef NUMERIC_H
2 #define NUMERIC_H
3 
4 /*
5  * numeric.h
6  * Copyright (c) 2016 Georgetown University. All Rights Reserved.
7  */
8 
9 #include <string>
10 #include <climits>
11 #include "attribute.h"
12 
13 using namespace std;
14 
23 class NumericAttribute : public Attribute {
24 
33  friend ostream &operator<<( ostream &out, const NumericAttribute &na );
34 
35  public:
36 
40 
48  NumericAttribute( string name );
49 
56  virtual int getSize() const;
57 
64  virtual void print( ostream &out = cout ) const;
65 
66 }; // NumericAttribute class
67 
68 #endif
Definition: numeric.h:23
Definition: attribute.h:21
ostream & operator<<(ostream &out, const Attribute &a)
Definition: attribute.cc:31