@Name(value="ale::stella::PropertiesSet") @NoOffset @Properties(inherit=ale.class) public class StellaPropertiesSet extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
StellaPropertiesSet()
Create an empty properties set object using the md5 as the
key to the BST.
|
StellaPropertiesSet(long size)
Native array allocator.
|
StellaPropertiesSet(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
getMD5(BytePointer md5,
StellaProperties properties) |
void |
getMD5(BytePointer md5,
StellaProperties properties,
boolean useDefaults)
Get the property from the set with the given MD5.
|
void |
getMD5(String md5,
StellaProperties properties) |
void |
getMD5(String md5,
StellaProperties properties,
boolean useDefaults) |
StellaPropertiesSet |
getPointer(long i) |
void |
insert(StellaProperties properties,
boolean save)
Insert the properties into the set.
|
StellaPropertiesSet |
position(long position) |
void |
print()
Prints the contents of the PropertiesSet as a flat file.
|
void |
removeMD5(BytePointer md5)
Marks the property with the given MD5 as being removed.
|
void |
removeMD5(String md5) |
int |
size()
Get the number of properties in the collection.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public StellaPropertiesSet(Pointer p)
Pointer(Pointer)
.public StellaPropertiesSet(long size)
Pointer.position(long)
.public StellaPropertiesSet()
public StellaPropertiesSet position(long position)
public StellaPropertiesSet getPointer(long i)
getPointer
in class Pointer
public void getMD5(@StdString BytePointer md5, @ByRef StellaProperties properties, @Cast(value="bool") boolean useDefaults)
md5
- The md5 of the property to getproperties
- The property with the given MD5, or the default
properties if not founddefaults
- Use the built-in defaults, ignoring any external propertiespublic void getMD5(@StdString BytePointer md5, @ByRef StellaProperties properties)
public void getMD5(@StdString String md5, @ByRef StellaProperties properties, @Cast(value="bool") boolean useDefaults)
public void getMD5(@StdString String md5, @ByRef StellaProperties properties)
public void insert(@Const @ByRef StellaProperties properties, @Cast(value="bool") boolean save)
properties
- The collection of propertiessave
- Indicates whether to set the 'save' tag for
this propertypublic void removeMD5(@StdString BytePointer md5)
md5
- The md5 of the property to removepublic void removeMD5(@StdString String md5)
@Cast(value="uint32_t") public int size()
public void print()
Copyright © 2022. All rights reserved.