Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

vndobj.h

Go to the documentation of this file.
00001 
00002 // FILE vndobj.h 
00003 
00004 
00005 #ifndef INCLUDED_VNDNAME_H
00006 #define INCLUDED_VNDNAME_H
00007 
00008 
00009 #include <string>
00010 
00011 
00017 class NAME
00018 {
00019   
00020 public:
00021   
00023   const string & GetName() const;
00024 
00026   virtual ~NAME();
00027   
00028   
00029 protected:
00030   
00037   NAME( const string & name );
00038   NAME(){}
00039   
00040 private:
00041   
00043   string Name;
00044 };
00045 
00046 
00047 inline NAME :: NAME( const string & name ) : Name(name) 
00048 {
00049   assert(!name.empty());
00050   ;
00051 }
00052 
00053 
00054 inline const string & NAME :: GetName() const 
00055 { 
00056   return Name; 
00057 }
00058 
00059 
00060 
00061 inline NAME :: ~NAME() 
00062 { 
00063   Name.~string(); 
00064 }
00065 
00066 
00067 #endif 

Generated at Sun Oct 14 12:45:40 2001 for VNODE by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000