Main Page   Class Hierarchy   Compound List   File List   Compound Members  

Link.h

00001 #ifndef LINK_H
00002 #define LINK_H
00003 
00004 #include "global.h"
00005 
00012 //Date created - 05 May 2002
00013 
00014 class Link {
00015 
00016         public:
00020                 Link();
00021 
00022                 //Link(char *ID, char * pcdata, char * contentType, content_role contentRole,
00023                 //        char * title, char * linkvalue, char *value, char * href, char * gref, 
00024                 //        char *action);
00025 
00029                 ~Link();
00030 
00034                 Link operator=(const Link &f);
00035 
00039                 Link(const Link &l);
00040 
00041                 int setID(char * ID, int * status);
00042                 int setPCData(char * pcdata, int *status);
00043                 int setContentType(char * contentType, int *status);
00044                 int setContentRole(content_role contentRole , int *status);
00045                 int setTitle(char * title, int *status);
00046                 int setValue(char * value, int *status);
00047                 int setHRef(char * href, int *status);
00048                 int setGRef(char * gref, int *status);
00049                 int setAction(char * action, int *status);      
00050 
00054                 int getID(char * &ID, int * status);
00055 
00059                 int getPCData(char * &pcdata, int *status);
00060 
00064                 int getContentType(char * &contentType, int *status);
00065 
00069                 int getContentRole(content_role & contentRole , int *status);
00070 
00074                 int getTitle(char * &title, int *status);
00075 
00079                 int getValue(char * &value, int *status);
00080 
00084                 int getHRef(char * &href, int *status);
00085 
00089                 int getGRef(char * &gref, int *status);
00090 
00094                 int getAction(char * &action, int *status);             
00095         
00096         private: 
00097                 char * m_ID;
00098                 char * m_pcdata;
00099                 char * m_contentType;
00100                 content_role m_contentRole;
00101                 char * m_title;
00102                 char * m_linkvalue;
00103                 char * m_href;
00104                 char * m_gref;
00105                 char * m_action;
00106 
00107                 void makeCopy(const Link &l);
00108                 void cleanup(void);
00109                 void init(void);
00110 
00111 
00112 };
00113 
00114 #endif

Generated on Mon Jul 15 13:54:19 2002 for VOTable Parser 1.2 Documentation by doxygen1.2.16