Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_crosslinking_monolink.hpp
1/*
2##############################################################################
3# file: ms_crosslinking_monolink.hpp #
4# 'msparser' toolkit #
5# Encapsulates monolink element in crosslinking.xml #
6##############################################################################
7# COPYRIGHT NOTICE #
8# Copyright 1998-2019 Matrix Science Limited All Rights Reserved. #
9# #
10##############################################################################
11 * @(#)$Source: parser/inc/ms_crosslinking_monolink.hpp $
12 * @(#)$Revision: 9de60354aaae13272cadfa764dbabd92c93c724c | MSPARSER_REL_3_0_0-2024-09-24-0-g93ebaeb4f4 $
13 * @(#)$Date: 2018-12-20 12:05:22 +0000 $
14##############################################################################
15 */
16
17#ifndef MS_CROSSLINKING_MONOLINK_HPP
18#define MS_CROSSLINKING_MONOLINK_HPP
19
20
21#include <string>
22
23// forward declarations
24namespace msparser_internal {
25 class ms_crosslinking_xmlloader;
26}
27
28namespace matrix_science {
29 class ms_xml_schema; // forward declaration
30
37 class MS_MASCOTRESFILE_API ms_crosslinking_monolink: public ms_xml_IValidatable
38 {
39 friend class msparser_internal::ms_crosslinking_xmlloader;
40
41 public:
44
47
50
52 void defaultValues();
53
55 void copyFrom(const ms_crosslinking_monolink* right);
56
57#ifndef SWIG
60#endif
61
63 virtual std::string getSchemaType() const;
64
66 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
67
69 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
70
71
73 std::string getValue() const;
74
76 void setValue(const char* value);
77
79 std::string getValueSchemaType() const;
80
81
82 private:
83 std::string _value;
84
85 }; // class ms_crosslinking_monolink
86 // end of config_group
88
89} // namespace matrix_science
90
91#endif // MS_CROSSLINKING_MONOLINK_HPP
92
93/*------------------------------- End of File -------------------------------*/
94