Package org.robwork.sdurw_core
Class LogWriterCPtr
- java.lang.Object
- 
- org.robwork.sdurw_core.LogWriterCPtr
 
- 
 public class LogWriterCPtr extends java.lang.ObjectPtr stores a pointer and optionally takes ownership of the value.
- 
- 
Constructor SummaryConstructors Constructor Description LogWriterCPtr()Default constructor yielding a NULL-pointer.LogWriterCPtr(long cPtr, boolean cMemoryOwn)LogWriterCPtr(LogWriter ptr)Do not take ownership of ptr.
 
 ptr can be null.
 
 The constructor is implicit on purpose.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LogWriter__ref__()Dereferencing operator.voiddelete()LogWriterderef()The pointer stored in the object.booleanequals(LogWriter p)static longgetCPtr(LogWriterCPtr obj)LogWritergetDeref()Member access operator.booleanisNull()checks if the pointer is nullbooleanisShared()check if this Ptr has shared ownership or none
 ownership
 
- 
- 
- 
Constructor Detail- 
LogWriterCPtrpublic LogWriterCPtr(long cPtr, boolean cMemoryOwn)
 - 
LogWriterCPtrpublic LogWriterCPtr() Default constructor yielding a NULL-pointer.
 - 
LogWriterCPtrpublic LogWriterCPtr(LogWriter ptr) Do not take ownership of ptr.
 
 ptr can be null.
 
 The constructor is implicit on purpose.
 
- 
 - 
Method Detail- 
getCPtrpublic static long getCPtr(LogWriterCPtr obj) 
 - 
deletepublic void delete() 
 - 
derefpublic LogWriter deref() The pointer stored in the object.
 - 
__ref__public LogWriter __ref__() Dereferencing operator.
 - 
getDerefpublic LogWriter getDeref() Member access operator.
 - 
equalspublic boolean equals(LogWriter p) 
 - 
isSharedpublic boolean isShared() check if this Ptr has shared ownership or none
 ownership- Returns:
- true if Ptr has shared ownership, false if it has no ownership.
 
 - 
isNullpublic boolean isNull() checks if the pointer is null- Returns:
- Returns true if the pointer is null
 
 
- 
 
-