postgresql :: ConnStatusType :: is_ok
postgresql $ ConnStatusType :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Pointer :: defaultinit
core :: Object :: defaultinit
postgresql :: ConnStatusType :: is_ok
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).
extern class ConnStatusType `{int`}
new connection_ok `{ return CONNECTION_OK; `}
new connection_bad `{ return CONNECTION_BAD; `}
fun is_ok: Bool `{return self == CONNECTION_OK; `}
end
lib/postgresql/native_postgres.nit:45,1--50,3