pygplates.XsBoolean

class pygplates.XsBoolean

Bases: pygplates.PropertyValue

A property value that represents a boolean value. The ‘Xs’ prefix is there since this type of property value is associated with the XML Schema Instance Namespace.

__init__(boolean_value)

Create a boolean property value from a boolean value.

Parameters

boolean_value (bool) – the boolean value

boolean_property = pygplates.XsBoolean(boolean_value)

Methods

__init__(boolean_value)

Create a boolean property value from a boolean value.

accept_visitor(visitor)

Accept a property value visitor so that it can visit this property value.

clone()

Create a duplicate of this property value (derived) instance, including a recursive copy of any nested property values that this instance might contain.

get_boolean()

Returns the boolean value.

get_geometry()

Extracts the geometry if this property value contains a geometry.

get_value([time=0])

Extracts the value, of this possibly time-dependent property value, at the reconstruction time.

set_boolean(boolean_value)

Sets the boolean value.

get_boolean()

Returns the boolean value.

Return type

bool

set_boolean(boolean_value)

Sets the boolean value.

Parameters

boolean_value (bool) – the boolean value