Class COM.odi.jcpp.SJIScharP

java.lang.Object
   |
   +----COM.odi.jcpp.PeerPointer
           |
           +----COM.odi.jcpp.charP
                   |
                   +----COM.odi.jcpp.SJIScharP

public class SJIScharP
extends charP
This pointer class represents char* pointers which are encoded using as SJIS strings.


Constructor Index

 o SJIScharP(byte[])
The constructor that wraps a char type around a raw address.
 o SJIScharP(String, Segment)
Copies the Java string str into a newly allocated C++ char array.

Method Index

 o toString(byte[])
For a char* string in SJIS format, copies all characters up to the first null character into a new Java String.

Constructors

 o SJIScharP
  public SJIScharP(String str,
                   Segment s)
Copies the Java string str into a newly allocated C++ char array. The character encoding used will be SJIS.

 o SJIScharP
  public SJIScharP(byte linearObjectReference[])
The constructor that wraps a char type around a raw address.

Parameters:
linearObjectReference - Linear object reference for the pointer.

Methods

 o toString
  public static String toString(byte linearObjectReference[])
For a char* string in SJIS format, copies all characters up to the first null character into a new Java String.

Parameters:
linearObjectReference - The linear object reference of a C++ char array. This argument must be non-null.

Copyright © 1996, 1997, 1998 Object Design, Inc. All rights reserved.