00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef COH_BOOLEAN_HPP
00017 #define COH_BOOLEAN_HPP
00018
00019 #include "coherence/lang/compatibility.hpp"
00020
00021 #include "coherence/lang/cloneable_spec.hpp"
00022 #include "coherence/lang/Primitive.hpp"
00023 #include "coherence/lang/String.hpp"
00024 #include "coherence/lang/TypedHandle.hpp"
00025
00026 COH_OPEN_NAMESPACE2(coherence,lang)
00027
00028
00029
00030
00031
00032
00033
00034 class COH_EXPORT Boolean
00035 : public cloneable_spec<Boolean,
00036 extends<Primitive<bool> > >
00037 {
00038 friend class factory<Boolean>;
00039
00040
00041
00042 private:
00043
00044
00045
00046 Boolean(bool f);
00047
00048
00049
00050
00051 Boolean(const Boolean& that);
00052
00053
00054
00055
00056 public:
00057
00058
00059
00060
00061
00062
00063
00064
00065 static Handle valueOf(bool f);
00066
00067 using super::toString;
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078 static String::View toString(bool f);
00079 };
00080
00081 COH_CLOSE_NAMESPACE2
00082
00083 #endif // COH_BOOLEAN_HPP