00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef MS_CROSSLINKING_MONOLINK_HPP
00018 #define MS_CROSSLINKING_MONOLINK_HPP
00019
00020
00021 #include <string>
00022
00023
00024 namespace msparser_internal {
00025 class ms_crosslinking_xmlloader;
00026 }
00027
00028 namespace matrix_science {
00029 class ms_xml_schema;
00030
00036
00037 class MS_MASCOTRESFILE_API ms_crosslinking_monolink: public ms_xml_IValidatable
00038 {
00039 friend class msparser_internal::ms_crosslinking_xmlloader;
00040
00041 public:
00043 ms_crosslinking_monolink();
00044
00046 ms_crosslinking_monolink(const ms_crosslinking_monolink& src);
00047
00049 virtual ~ms_crosslinking_monolink();
00050
00052 void defaultValues();
00053
00055 void copyFrom(const ms_crosslinking_monolink* right);
00056
00057 #ifndef SWIG
00058
00059 ms_crosslinking_monolink& operator=(const ms_crosslinking_monolink& right);
00060 #endif
00061
00063 virtual std::string getSchemaType() const;
00064
00066 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
00067
00069 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
00070
00071
00073 std::string getValue() const;
00074
00076 void setValue(const char* value);
00077
00079 std::string getValueSchemaType() const;
00080
00081
00082 private:
00083 std::string _value;
00084
00085 };
00086
00088
00089 }
00090
00091 #endif // MS_CROSSLINKING_MONOLINK_HPP
00092
00093
00094