ostk.core.container.Object

class Object

Bases: pybind11_object

Methods

array

boolean

dictionary

get_array

get_boolean

get_dictionary

get_integer

get_real

get_string

get_type

integer

is_array

is_boolean

is_defined

is_dictionary

is_integer

is_real

is_string

load

parse

real

string

string_from_type

to_string

type_from_string

undefined

class Format(self: ostk.core.container.Object.Format, value: int)

Bases: pybind11_object

Members:

Undefined

JSON

YAML

property name
class Type(self: ostk.core.container.Object.Type, value: int)

Bases: pybind11_object

Members:

Undefined

Boolean

Integer

Real

String

Dictionary

Array

property name
static array(array: list[ostk.core.container.Object]) ostk.core.container.Object
static boolean(boolean: bool) ostk.core.container.Object
static dictionary(
dictionary: ostk.core.container.Dictionary,
) ostk.core.container.Object
get_array(self: ostk.core.container.Object) list[ostk.core.container.Object]
get_boolean(self: ostk.core.container.Object) bool
get_dictionary(
self: ostk.core.container.Object,
) ostk.core.container.Dictionary
get_integer(self: ostk.core.container.Object) ostk.core.type.Integer
get_real(self: ostk.core.container.Object) ostk.core.type.Real
get_string(self: ostk.core.container.Object) ostk.core.type.String
get_type(self: ostk.core.container.Object) ostk.core.container.Object.Type
static integer(integer: ostk.core.type.Integer) ostk.core.container.Object
is_array(self: ostk.core.container.Object) bool
is_boolean(self: ostk.core.container.Object) bool
is_defined(self: ostk.core.container.Object) bool
is_dictionary(self: ostk.core.container.Object) bool
is_integer(self: ostk.core.container.Object) bool
is_real(self: ostk.core.container.Object) bool
is_string(self: ostk.core.container.Object) bool
static load(
file: ostk.core.filesystem.File,
format: ostk.core.container.Object.Format,
) ostk.core.container.Object
static parse(
string: ostk.core.type.String,
format: ostk.core.container.Object.Format,
) ostk.core.container.Object
static real(real: ostk.core.type.Real) ostk.core.container.Object
static string(string: ostk.core.type.String) ostk.core.container.Object
static string_from_type(type: ostk.core.container.Object.Type) ostk.core.type.String
to_string(
self: ostk.core.container.Object,
arg0: ostk.core.container.Object.Format,
) ostk.core.type.String
static type_from_string(
string: ostk.core.type.String,
) ostk.core.container.Object.Type
static undefined() ostk.core.container.Object