Skip to content

forbear_element_object ​

Source: src/lib/forbear_element_object.F90

Dependencies

Contents ​

Derived Types ​

element_object ​

Components ​

NameTypeAttributesDescription
stringcharacter(kind=UCS4, len=:)allocatable
color_fgcharacter(len=:)allocatable
color_bgcharacter(len=:)allocatable
stylecharacter(len=:)allocatable

Type-Bound Procedures ​

NameAttributesDescription
destroypass(self)
initializepass(self)
outputpass(self)
assignment(=)
assign_elementpass(lhs)

Subroutines ​

destroy ​

Attributes: pure

fortran
subroutine destroy(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(element_object)inout

Call graph

initialize ​

fortran
subroutine initialize(self, string, color_fg, color_bg, style)

Arguments

NameTypeIntentAttributesDescription
selfclass(element_object)inout
stringclass(*)inoptional
color_fgcharacter(len=*)inoptional
color_bgcharacter(len=*)inoptional
stylecharacter(len=*)inoptional

Call graph

stop_unknown ​

fortran
subroutine stop_unknown(what, name)

Arguments

NameTypeIntentAttributesDescription
whatcharacter(len=*)in
namecharacter(len=*)in

Call graph

assign_element ​

Attributes: pure

fortran
subroutine assign_element(lhs, rhs)

Arguments

NameTypeIntentAttributesDescription
lhsclass(element_object)inout
rhstype(element_object)in

Functions ​

output ​

Attributes: pure

Returns: character(kind=UCS4, len=:)

fortran
function output(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(element_object)in

Call graph

is_color ​

Attributes: pure

Returns: logical

fortran
function is_color(name)

Arguments

NameTypeIntentAttributesDescription
namecharacter(len=*)in

Call graph

is_style ​

Attributes: pure

Returns: logical

fortran
function is_style(name)

Arguments

NameTypeIntentAttributesDescription
namecharacter(len=*)in

Call graph

Released under the GPL v3, BSD 2-Clause, BSD 3-Clause or MIT License.