List of Interfaces

Summary
List of Interfaces
LicenseCopyright © 2009, FreeBASIC Extended Library Development Group
DefaultConstructibleSpecifies that a type can be created without being initialized.
CopyConstructibleSpecifies that an object of the type can be created as a copy of another object of the same type.
CopyAssignableSpecifies that an object of the type can be assigned as a copy of another object of the same type.
CopyableSpecifies that an object of the type can be created or assigned as a copy of another object of the same type.
EqualityComparableSpecifies that two objects of the type can be compared for equality with operator =.
InequalityComparableSpecifies that two objects of the type can be compared for inequality with operator <>.
LessThanComparableSpecifies that two objects of the type can be ordered with operator <.
GreaterThanComparableSpecifies that two object of the type can be ordered with operator >.
ComparableSpecifies that two objects of the type can be compared using the most common comparison operators.
PrintableSpecifies that an object of the type can be converted to a String value.

License

Copyright © 2009, FreeBASIC Extended Library Development Group

Distributed under the FreeBASIC Extended Library Group license.  See accompanying file LICENSE.txt or copy at http://code.google.com- /p- /fb-extended-lib- /wiki- /License

DefaultConstructible

Specifies that a type can be created without being initialized.

Procedures

  • constructor()

Requires

  • dim x as T
  • var x = T()

CopyConstructible

Specifies that an object of the type can be created as a copy of another object of the same type.

Procedures

  • constructor( byref rhs as const type )

Requires

  • dim x as T = y
  • var x = y

CopyAssignable

Specifies that an object of the type can be assigned as a copy of another object of the same type.

Procedures

  • operator type.Let( byref rhs as const type )

Requires

  • x = y

Copyable

Specifies that an object of the type can be created or assigned as a copy of another object of the same type.

Requires

EqualityComparable

Specifies that two objects of the type can be compared for equality with operator =.

Procedures

  • operator = ( byref lhs as const type, byref rhs as const type ) as integer

Requires

  • (x = y)

InequalityComparable

Specifies that two objects of the type can be compared for inequality with operator <>.

Procedures

  • operator <> ( byref lhs as const type, byref rhs as const type ) as integer

Requires

  • (x <> y)

LessThanComparable

Specifies that two objects of the type can be ordered with operator <.

Procedures

  • operator < ( byref lhs as const type, byref rhs as const type ) as integer

Requires

  • (x < y)

GreaterThanComparable

Specifies that two object of the type can be ordered with operator >.

Procedures

  • operator > ( byref lhs as const type, byref rhs as const type ) as integer

Requires

  • (x > y)

Comparable

Specifies that two objects of the type can be compared using the most common comparison operators.

Requires

Printable

Specifies that an object of the type can be converted to a String value.

Procedures

  • operator type.cast() as string

Requires

  • dim s as string = x
Specifies that an object of the type can be created as a copy of another object of the same type.
Specifies that an object of the type can be assigned as a copy of another object of the same type.
Specifies that two objects of the type can be compared for equality with operator =.
Specifies that two objects of the type can be compared for inequality with operator <>.
Specifies that two objects of the type can be ordered with operator <.
Specifies that two object of the type can be ordered with operator >.