1 | /*
|
---|
2 | * Copyright 2001-2004 The Apache Software Foundation.
|
---|
3 | *
|
---|
4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
---|
5 | * you may not use this file except in compliance with the License.
|
---|
6 | * You may obtain a copy of the License at
|
---|
7 | *
|
---|
8 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
9 | *
|
---|
10 | * Unless required by applicable law or agreed to in writing, software
|
---|
11 | * distributed under the License is distributed on an "AS IS" BASIS,
|
---|
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
---|
13 | * See the License for the specific language governing permissions and
|
---|
14 | * limitations under the License.
|
---|
15 | */
|
---|
16 |
|
---|
17 | /*
|
---|
18 | * $Id: XMLCanRepGroup.hpp,v 1.2 2004/09/08 13:56:54 peiyongz Exp $
|
---|
19 | * $Log: XMLCanRepGroup.hpp,v $
|
---|
20 | * Revision 1.2 2004/09/08 13:56:54 peiyongz
|
---|
21 | * Apache License Version 2.0
|
---|
22 | *
|
---|
23 | * Revision 1.1 2003/12/11 21:38:41 peiyongz
|
---|
24 | * support for Canonical Representation for Datatype
|
---|
25 | *
|
---|
26 | */
|
---|
27 |
|
---|
28 | #if !defined(XMLCANREPGROUP_HPP)
|
---|
29 | #define XMLCANREPGROUP_HPP
|
---|
30 |
|
---|
31 | #include <xercesc/util/PlatformUtils.hpp>
|
---|
32 |
|
---|
33 | XERCES_CPP_NAMESPACE_BEGIN
|
---|
34 |
|
---|
35 | class VALIDATORS_EXPORT XMLCanRepGroup : public XMemory
|
---|
36 | {
|
---|
37 | public:
|
---|
38 |
|
---|
39 | enum CanRepGroup {
|
---|
40 | Boolean,
|
---|
41 | DoubleFloat,
|
---|
42 | DateTime,
|
---|
43 | Time,
|
---|
44 | Decimal,
|
---|
45 | Decimal_Derivated_signed,
|
---|
46 | Decimal_Derivated_unsigned,
|
---|
47 | Decimal_Derivated_npi,
|
---|
48 | String
|
---|
49 | };
|
---|
50 |
|
---|
51 | ~XMLCanRepGroup();
|
---|
52 |
|
---|
53 | XMLCanRepGroup(CanRepGroup val);
|
---|
54 |
|
---|
55 | inline CanRepGroup getGroup() const;
|
---|
56 |
|
---|
57 | private:
|
---|
58 |
|
---|
59 | CanRepGroup fData;
|
---|
60 |
|
---|
61 | // -----------------------------------------------------------------------
|
---|
62 | // Unimplemented constructors and operators
|
---|
63 | // -----------------------------------------------------------------------
|
---|
64 | XMLCanRepGroup(const XMLCanRepGroup&);
|
---|
65 | XMLCanRepGroup& operator=(const XMLCanRepGroup&);
|
---|
66 |
|
---|
67 | };
|
---|
68 |
|
---|
69 | inline XMLCanRepGroup::CanRepGroup XMLCanRepGroup::getGroup() const
|
---|
70 | {
|
---|
71 | return fData;
|
---|
72 | }
|
---|
73 |
|
---|
74 | XERCES_CPP_NAMESPACE_END
|
---|
75 |
|
---|
76 | #endif
|
---|
77 |
|
---|
78 | /**
|
---|
79 | * End of file XMLCanRepGroup.hpp
|
---|
80 | */
|
---|
81 |
|
---|