public abstract class VisibilityHelper extends Object
short. The Visibility normally takes one of the two values,
PUBLIC_MEMBER.value or PRIVATE_MEMBER.value.| Constructor and Description |
|---|
VisibilityHelper() |
| Modifier and Type | Method and Description |
|---|---|
static short |
extract(Any any)
Extract the Visibility from the given Any.
|
static String |
id()
Get the Visibility repository id.
|
static void |
insert(Any any,
short that)
Insert the Visibility into the given Any.
|
static short |
read(InputStream istream)
Read the visibility value (as short) from the CDR intput stream.
|
static TypeCode |
type()
Return an alias of short, named "Visibility".
|
static void |
write(OutputStream ostream,
short value)
Write the visibility value (as short) to the CDR output stream.
|
public VisibilityHelper()
public static void insert(Any any, short that)
Any.insert_short(short).public static short extract(Any any)
Any.extract_short().public static String id()
public static short read(InputStream istream)
InputStream.read_short().istream - a stream to read from.public static void write(OutputStream ostream, short value)
OutputStream.write_short(short).ostream - a stream to write into.value - a value to write.