org.openorb.ir.impl
Class WstringDefImpl
public
class
WstringDefImpl
extends WstringDefPOA
This class is the WStringDefDef implementation.
Author: Olivier Modica
Method Summary |
int | bound()
The bound attribute specifies the maximum number of wide
characters in a wide string, and must not be zero. |
void | bound(int value)
The bound attribute specifies the maximum number of wide
characters in a wide string, and must not be zero. |
DefinitionKind | def_kind()
The def_kind type_name attribute identifies the type of the definition. |
void | destroy()
The destroy operation causes the object to cease to exist. |
TypeCode | type()
The type attribute describes the type defined by an object
derived from IDLType. |
public WstringDefImpl(ORB orb, int bound)
Constructor
public int bound()
The bound attribute specifies the maximum number of wide
characters in a wide string, and must not be zero.
public void bound(int value)
The bound attribute specifies the maximum number of wide
characters in a wide string, and must not be zero.
public DefinitionKind def_kind()
The def_kind type_name attribute identifies the type of the definition.
public void destroy()
The destroy operation causes the object to cease to exist. If
the object is a Container, destroy is applied to all its
contents. If the object contains an IDLType attribute for an
anonymous type, that IDLType is destroyed. If the object is
currently contained in some other object, it is removed. If
destroy is invoked on a Repository or on a PrimitiveDef then
the BAD_INV_ORDER exception is raised with minor value 2.
Implementations may vary in their handling of references to an
object that is being destroyed, but the Repository should not
be left in an incoherent state. Attempt to destroy an object
that would leave the repository in an incoherent state shall
cause BAD_INV_ORDER exception to be raised with the minor code
1.
public TypeCode type()
The type attribute describes the type defined by an object
derived from IDLType.