parcel | Clownfish |
class variable | CFISH_BOOLEAN |
struct symbol | cfish_Boolean |
class nickname | cfish_Bool |
header file | Clownfish/Boolean.h |
Clownfish::Boolean – Boolean type.
There are only two singleton instances of this class: CFISH_TRUE and CFISH_FALSE.
cfish_Boolean*
cfish_Bool_singleton(
bool value
);
Return either CFISH_TRUE or CFISH_FALSE depending on the supplied value.
bool
cfish_Bool_Get_Value(
cfish_Boolean *self
);
Return the value of the Boolean.
cfish_Boolean* // incremented
cfish_Bool_Clone(
cfish_Boolean *self
);
Return a clone of the object.
bool
cfish_Bool_Equals(
cfish_Boolean *self,
cfish_Obj *other
);
Equality test.
Returns: true if other
is a Boolean with the same value as self
.
cfish_String* // incremented
cfish_Bool_To_String(
cfish_Boolean *self
);
Return “true” for true values and “false” for false values.
Clownfish::Boolean is a Clownfish::Obj.
Copyright © 2010-2015 The Apache Software Foundation, Licensed under the
Apache License, Version 2.0.
Apache Lucy, Lucy, Apache, the Apache feather logo, and the Apache Lucy project logo are trademarks of The
Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their
respective owners.