:: com :: sun :: star :: beans ::
|
unpublished |
template struct Optional<T> |
|
|
|
- Usage Restrictions
- not published
- Description
- An optional value of a given type.
This structure is used as the type of interface attributes corresponding
to instances of Property that
have the PropertyAttribute::MAYBEVOID. It might
also be useful in other situations, for example as the return type of an
interface method.
|
Elements' Summary |
IsPresent |
Marks this structure instance as having an actual value.
|
Value |
The actual value of this structure instance.
|
Elements' Details |
IsPresent
boolean IsPresent;
- Description
- Marks this structure instance as having an actual value.
|
|
Value
T Value;
- Description
- The actual value of this structure instance.
If no actual value is present, a producer of such a structure instance
should leave this member defaulted, and a consumer of such a structure
instance should ignore the specific value stored in this member.
|
|
Top of Page
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.