BitClass Module



Contents


Interfaces

public interface not

  • public function notBitFunc(obj) result(ret)

    Arguments

    Type IntentOptional AttributesName
    type(Bit_), intent(in) :: obj

    Return Value type(Bit_)

public interface reverse

  • public function reverseBitFunc(obj) result(ret)

    Arguments

    Type IntentOptional AttributesName
    type(Bit_), intent(in) :: obj

    Return Value type(Bit_)

public interface assignment(=)

  • public subroutine assignIntBit(x, y)

    Arguments

    Type IntentOptional AttributesName
    type(Bit_), intent(inout) :: x
    integer(kind=int32), intent(in) :: y

Derived Types

type, public :: Bit_

Components

TypeVisibility AttributesNameInitial
logical, public, allocatable:: bitArray(:)

Type-Bound Procedures

procedure, public :: init => initBit
procedure, public :: int => intBit
procedure, public :: not => notBit

Functions

public function intBit(obj) result(ret)

Arguments

Type IntentOptional AttributesName
class(Bit_), intent(inout) :: obj

Return Value integer(kind=int32)

public function notBitFunc(obj) result(ret)

Arguments

Type IntentOptional AttributesName
type(Bit_), intent(in) :: obj

Return Value type(Bit_)

public function reverseBitFunc(obj) result(ret)

Arguments

Type IntentOptional AttributesName
type(Bit_), intent(in) :: obj

Return Value type(Bit_)


Subroutines

public subroutine initBit(obj, n)

Arguments

Type IntentOptional AttributesName
class(Bit_), intent(inout) :: obj
integer(kind=int32), intent(in) :: n

public subroutine notBit(obj)

Arguments

Type IntentOptional AttributesName
class(Bit_), intent(inout) :: obj

public subroutine assignIntBit(x, y)

Arguments

Type IntentOptional AttributesName
type(Bit_), intent(inout) :: x
integer(kind=int32), intent(in) :: y