This class represents OEAltLocationState, an abstraction of the internal
selection state of an
OEAltLocationFactory. It is designed for ease of use with collection classes
and to support serialization.
OEAltLocationState() OEAltLocationState(const std::string &hex) OEAltLocationState(const OEAltLocationState &state)
Default and copy constructors.
If no arguments are supplied, the constructed object is uninitialized and will return
operator bool is called.
string is supplied, then an object is constructed to represent the state described by the string.
Strings appropriate for use with this method are generated by
This constructor is used when reconstituting the serialized state of an
OEAltLocationFactory prior to
providing the resulting
OEAltLocationState is supplied, an object is constructed that is identical to the input.
OEAltLocationState &operator=(const OEAltLocationState &state)
Assignment – sets this state to match the supplied
operator bool() const
true if the state has been initialized (constructed from a
string argument or from another state that has been initialized).