Skip to main content Skip to complementary content

AbstractStructure Class

Namespace: Qlik.Engine
Assembly: Qlik.Engine.dll

A wrapper that can provide a typed interface for a JToken.

Inheritance

Syntax

public class AbstractStructure : IDisposable, IAbstractStructure

Constructors

Name Description
AbstractStructure()

Creates an empty abstract structure.

AbstractStructure(JObject)

Creates an AbstractStructure wrapper for a JObject instance.

Properties

Name Description
Session

The session from which this structure was created.

Methods

Name Description
As<T>()

Interprets abstract structure as a different type.

CloneAs<T>()

Clones object to another AbstractStructure type.

CloneSubstructureAs<T>(String)

Clones a substructure of the abstract structure and interprets it as type T.

Diff(AbstractStructure, AbstractStructure)

Compute the difference between two AbstractStructure instances.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Get<T>(String)

Retrieves a property of the abstract structure and interprets it as an object of type T.

Get<T>(String, T)

Retrieves an element of the abstract structure and interprets it as an object of type T.

GetAllProperties(Boolean)

Gets all the property names in the structure

GetAllPropertyPaths(Boolean)

Gets the path to all properties names in the structure

GetJObject()

Get the JObject instance wrapped by this abstract structure.

IsSet(String)

Checks if a property is set

PrintStructure(Formatting)

Creates a string representation of the underlying json structure. Equivalent to ToString(formatting)

ReadJson(JsonReader, QlikConnection)

Reads the structure of the object from the argument reader.

Set<T>(String, T)

Sets a property in the abstract structure

ToString()

Creates a string representation of the underlying json structure. Equivalent to ToString(Formatting.Indented)

ToString(Formatting)

Creates a string representation of the underlying json structure.

WriteJson(JsonWriter)

Writes the full json structure of the object to the argument writer.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!