Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

X3D_Price.h

Go to the documentation of this file.
00001 #ifndef PRICE_H
00002 #define PRICE_H
00003 
00004 #include <X3DTK/X3D/scenegraph.h>
00005 
00006 namespace X3DTK {
00007 namespace X3D {
00008 
00009 // Price node.
00010 
00011 class Price : public X3DChildNode
00012 {
00013 public:
00014   Price();
00015   Price(const SFFloat &price,
00016         const SFString &money);
00017             
00018   virtual SFAbstractNode clone() const;  
00019   void setPrice(const SFFloat &price);
00020   void setMoney(const SFString &money);
00021 
00022   inline const SFFloat &getPrice() const {return _price;};
00023   inline const SFString &getMoney() const {return _money;};
00024  
00025   virtual void load(const X3DFileElement *element);
00026   virtual SFString write() const;
00027 
00028 protected:
00029   Price(const Price &I);
00030 
00031 private:
00032   SFFloat _price;
00033   SFString _money;
00034 };
00035 
00036 }
00037 }
00038 
00039 #endif

Generated on Thu Jun 3 10:12:10 2004 for X3DToolKit by doxygen 1.3.6