Skip to main content

oSP3D Script API 2024 R1

MOP json

Last update: 16.07.2025

This section provides Json access simplifications that work consistently throughout C++ and python. More...

Classes

struct  CreateRangeBase
 Base class to the Ranges. Ranges can be defined and computed into a JsonValue. More...
 
struct  CreateRangeEnum< T >
 The Enum-Range defines a range for a given enum-type and stores this range as a list of values. More...
 
struct  CreateRangeList< T >
 The List-Range defines a range for a given type from a list of values and stores this list. More...
 
struct  CreateRangeMinMax< T >
 The Min-Max-Range defines a range for a given type with a minimum value and a maximum value. More...
 
struct  CreateRangeMinMaxWithAuto< T >
 The Min-Max-Auto-Range defines a range for a given type with a minimum value and a maximum value together with a special value "auto" that may be used differently in certain situations. More...
 
struct  CreateRangeNone
 The "None"-Range gives no range at all. More...
 
struct  EnumTraits< DependencyType >
 
class  JsonValue
 Simple wrapper class to jsoncpp that make working with SWIG more convenient. More...
 
struct  Parameter< Type >
 This class provides functions to work with a singleton parameter of the givien type. More...
 
struct  ParameterContainer< Type >
 This class provides functions to work with a list/container parameter of the givien type. More...
 
struct  SerializableTraits< T >
 This header provides a unified way to handle the Json serialization of parameters of different types. Each parameter is stored in an expressive way defining the Type, Range, Value and Multiplicity (Signlton/List) of the serialize object. This is achieved by having a traits class being defined for the parameters Type. Some standard definitions for ints, uints, numbers, strings are available but for serializing custom enums you would typically define this yourself. When de-/serializing a parameter of this type you the would only call the load/save functions depending on single/container parameters. More...
 

Enumerations

enum  DependencyType { SameActivity, InverseActivity, None, Undefined }
 

Functions

MOP3_EXPORT addDependency (JsonValue node, string name1, string name2, DependencyType dep)
 

Detailed Description

This section provides Json access simplifications that work consistently throughout C++ and python.

Connect with Ansys