trait Format extends AnyRef
CBM graphic format abstraction functioning as a base class for miscellaneous image formats providing data validation options as well as convenient access to the file loading address and data bytes.
- Alphabetic
- By Inheritance
- Format
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
val
addr: Address
CBM file loading address that needs to be provided by constructor of a derived class.
-
abstract
val
config: Offset
Memory configuration of the file format data that needs to be defined as a property of a derived class is used to extract image data from file data bytes.
-
abstract
val
data: Array[Byte]
Array of file data bytes that needs to be provided by constructor of a derived class.
-
abstract
val
load: Address
Default file loading address that needs to be defined as a property of a derived class is used to validate constructor parameters.
-
abstract
val
size: Int
Default length of file data bytes that needs to be defined as a property of a derived class is used to validate constructor parameters.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(that: Any): Boolean
States that objects of this class are never equal to objects of its superclass.
States that objects of this class are never equal to objects of its superclass.
- that
the value being probed for possible equality
- returns
trueifthisinstance can possibly equalthat, otherwisefalse
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
Compares the receiver object (
this) with the argument object (other) for equivalence.Compares the receiver object (
this) with the argument object (other) for equivalence.- returns
trueif the receiver object is equivalent to the argument,falseotherwise
- Definition Classes
- Format → AnyRef → Any
-
def
extractData(): CBM
Extract image data from file data bytes.
Extract image data from file data bytes.
- returns
a new instance of any
Mode-inherited class with the image mode determined by the file data
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
save(name: String, overwriteIfExists: Boolean = false): Unit
Save any supported CBM image format into a file.
Save any supported CBM image format into a file.
- name
target file name
- overwriteIfExists
boolean flag indicating whether overwriting of an existing file should trigger no error
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
validate(): Unit
Validates consistency of an object instance data.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )