Home | History | Annotate | Download | only in common

Lines Matching defs:Either

17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 * \brief Template class that is either type of First or Second.
32 * \brief Object containing Either First or Second type of object
40 class Either
43 Either (const First& first);
44 Either (const Second& second);
45 ~Either (void);
47 Either (const Either<First, Second>& other);
48 Either& operator= (const Either<First, Second>& other);
50 Either& operator= (const First& first);
51 Either& operator= (const Second& second);
92 static const First& get (const Either<First, Second>& either)
94 return either.getFirst();
101 static const Second& get (const Either<First, Second>& either)
103 return either.getSecond();
108 const Type& get (const Either<First, Second>& either)
110 return Get<Type, First, Second>::get(either);
119 static bool is (const Either<First, Second>& either)
121 return either.isFirst();
128 static bool is (const Either<First, Second>& either)
130 return either.isSecond();
135 bool is (const Either<First, Second>& either)
137 return Is<Type, First, Second>::is(either);
143 void Either<First, Second>::release (void)
155 Either<First, Second>::Either (const First& first)
162 Either<First, Second>::Either (const Second& second)
169 Either<First, Second>::~Either (void)
175 Either<First, Second>::Either (const Either<First, Second>& other)
185 Either<First, Second>& Either<First, Second>::operator= (const Either<First, Second>& other)
203 Either<First, Second>& Either<First, Second>::operator= (const First& first)
214 Either<First, Second>& Either<First, Second>::operator= (const Second& second)
225 bool Either<First, Second>::isFirst (void) const
231 bool Either<First, Second>::isSecond (void) const
237 const First& Either<First, Second>::getFirst (void) const
244 const Second& Either<First, Second>::getSecond (void) const
252 const Type& Either<First, Second>::get (void) const
259 bool Either<First, Second>::is (void) const