org.xbig.base
Class WideStringPointer

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.xbig.base.WideStringPointer
All Implemented Interfaces:
INativeObject

public class WideStringPointer
extends NativeObject

Represents a pointer or reference to a native std::wstring.

See Also:
StringPointer, NumberPointer

Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
WideStringPointer(InstancePointer pInstance)
           
WideStringPointer(InstancePointer pointer, boolean b)
           
WideStringPointer(java.lang.String value)
          Create native variable and initialise it.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 boolean equals(java.lang.Object obj)
          If a java.lang.String is passed, it is compared to the string this StringPointer points to.
 void finalize()
           
 java.lang.String get()
           
 WideStringPointer next()
           
 void set(java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class org.xbig.base.NativeObject
disconnectFromNativeObject, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WideStringPointer

public WideStringPointer(InstancePointer pInstance)

WideStringPointer

public WideStringPointer(InstancePointer pointer,
                         boolean b)

WideStringPointer

public WideStringPointer(java.lang.String value)
Create native variable and initialise it.

Parameters:
value - Value to initialise native value.
Method Detail

delete

public void delete()
Description copied from interface: INativeObject
Deletes the corresponding C++ object.

Subclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!

Specified by:
delete in interface INativeObject
Specified by:
delete in class NativeObject
See Also:
NativeObject.delete()

equals

public boolean equals(java.lang.Object obj)
If a java.lang.String is passed, it is compared to the string this StringPointer points to.

Overrides:
equals in class NativeObject

get

public java.lang.String get()

next

public WideStringPointer next()

set

public void set(java.lang.String value)

toString

public java.lang.String toString()
Overrides:
toString in class NativeObject
See Also:
NativeObject.toString()

finalize

public void finalize()
Overrides:
finalize in class NativeObject


Copyright © 2007 netAllied GmbH. All Rights Reserved.