• MARS Website
  • Core API
  • SmartOpenHamburg API
  • Model Components API
  • Common API
Show / Hide Table of Contents
  • Mars.Core
    • DependencyRegistrationCore
  • Mars.Core.Data
    • AbstractConfigLoader
    • AbstractEntityManager
    • AgentManagerImpl
    • DomainDataMediatorImpl
    • EntityManagerImpl
    • IAgentManager
    • IEntityManager
    • IEntityMapping
    • IGeneratedEntityLogger
    • IGeneratedLayerLogger
    • IGeneratedLogger<TModel>
    • IGeneratedTypeLogger
    • IModelCompiler
    • IOutputLogger
    • IPlatformSelector
    • ISchemaMigrationProvider
    • ISerializerManager
    • PlatformSelectorImpl
  • Mars.Core.Data.Compiler
    • AbstractEntityMapper
    • AbstractJitMapper
    • AbstractLayerMapper
    • AbstractMapper<TModel>
    • AbstractTypeMapper
    • RoslynCompilerUtils
  • Mars.Core.Data.Entities
    • CircleFilter
    • Condition
    • ConjunctiveWhere
    • DataFrame
    • DisjunctiveWhere
    • EqualityCondition
    • IntersectionFilter
    • ISelection
    • NearestFilter
    • Query
    • WindowFilter
    • WithinFilter
  • Mars.Core.Data.Exceptions
    • AgentInitializationException
  • Mars.Core.Data.Mapping
    • DefaultSourceProvider
    • ReflectiveMapping
  • Mars.Core.Data.Wrapper
    • AbstractOperationWrapper
    • AbstractWrapper
    • AbstractWrapper<TOptions>
    • GlobalRestrictions
    • ICircleQueryOperation
    • IIntersectionOperation
    • ILookupOperation
    • INearestOperation
    • IOperation
    • IPlatform
    • IQueryOperation
    • ISnapshot
    • IWindowQueryOperation
    • IWithinOperation
    • IWrapper
    • KnnGraphWrapper
    • PostGisWrapper
  • Mars.Core.Data.Wrapper.Document
    • IMongoConnection
    • IMongoWrapper
    • MongoDbIteratorHelper
    • MongoDbWrapper
  • Mars.Core.Data.Wrapper.File
    • AbstractFileWrapper<TOptions>
    • AscWrapper
    • GeoJsonWrapper
  • Mars.Core.Data.Wrapper.Memory
    • DataTableWrapper
    • GeoHashTrieWrapper
    • KdTreeWrapper
    • TripPosition
    • TripPositionCoordinateConverter
    • TripsCollection
    • TripsLineConverter
    • TripsTrajectoryWrapper
  • Mars.Core.Data.Wrapper.Relational
    • AbstractRelationalConnection
    • PostgresSqlDbConnection
    • PostgresSqlWrapper
    • RelationalMapperException
    • RelationalSqlWrapper<TOptions>
    • SqliteDbConnection
    • SqliteWrapper
  • Mars.Core.Data.Wrapper.Stream
    • MqttWrapper
    • SimulationTypeInfo
  • Mars.Core.Executor
    • IRuntimeModel
    • ISimulationProgress
    • IStepExecutor
  • Mars.Core.Executor.Entities
    • Parametrization
    • StepParam
  • Mars.Core.Executor.Implementation
    • RuntimeModelImpl
    • SimulationProgressImpl
    • StepExecutionUseCase
  • Mars.Core.Model
    • IConfigLoader
    • IModelContainer
    • IModelResolver
  • Mars.Core.Model.Entities
    • LayerInstanceContainer
  • Mars.Core.Model.Exceptions
    • InvalidMappingException
    • MissingConstructorException
    • ModelResolutionException
    • ValidationException
  • Mars.Core.Model.Implementation
    • DependencyBuilder
    • MappingHelper
    • ModelContainer
    • ValidationIssueLevel
    • ValidationResult
    • Validator
  • Mars.Core.Simulation
    • ISimulation
    • ISimulationControl
  • Mars.Core.Simulation.Entities
    • SimulationRestartArgs
    • SimulationWorkflowState

Class AbstractWrapper<TOptions>

An abstract implementation of the IWrapper keeping references to abstract output parameters valid for each output target and the corresponding mapper options.
Inheritance
System.Object
AbstractConfigLoader
AbstractWrapper
AbstractWrapper<TOptions>
AbstractFileWrapper<TOptions>
RelationalSqlWrapper<TOptions>
MqttWrapper
Implements
IWrapper
System.IDisposable
Inherited Members
AbstractWrapper.FrameSelector
AbstractWrapper.Serializer
AbstractWrapper.IsInitialized
AbstractWrapper.SaveSnapshot(Int64, IGeneratedLayerLogger)
AbstractWrapper.MigrateSchema(IGeneratedTypeLogger)
AbstractWrapper.MigrateSchema(IGeneratedLayerLogger)
AbstractWrapper.SaveSnapshotByType(Int64, IGeneratedTypeLogger)
AbstractWrapper.SaveSnapshot(Int64, IGeneratedTypeLogger)
AbstractWrapper.TearDown()
AbstractWrapper.WriteEntityResult(Int64, IGeneratedEntityLogger)
AbstractWrapper.WriteLayerResult(Int64, IGeneratedLayerLogger)
AbstractConfigLoader.Logger
AbstractConfigLoader.ConfigLoader
AbstractConfigLoader.SimulationConfig
AbstractConfigLoader.Context
AbstractConfigLoader.ModelDescription
AbstractConfigLoader.Dispose()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Core.Data.Wrapper
Assembly: Mars.Core.dll
Syntax
public abstract class AbstractWrapper<TOptions> : AbstractWrapper, IWrapper, IDisposable
Type Parameters
Name Description
TOptions The type of the custom options object, containing the information from the input config.
Remarks
When a new output target shall be implemented this class have to be inherited

Constructors

| Improve this Doc View Source

AbstractWrapper(IConfigLoader, ISerializerManager, TOptions)

Creates a new instance of ths AbstractWrapper<TOptions>, implementing the IWrapper contract.
Declaration
protected AbstractWrapper(IConfigLoader config, ISerializerManager serializer, TOptions options)
Parameters
Type Name Description
IConfigLoader config The result adapter root inputConfiguration object.
ISerializerManager serializer The serializer endpoint to access the model without any reflection.
TOptions options The options object describing custom input/output settings.
Remarks
When a new output target shall be implemented this class have to be inherited

Properties

| Improve this Doc View Source

Options

Gets the corresponding option object for this mapper.
Declaration
public TOptions Options { get; set; }
Property Value
Type Description
TOptions
Remarks
When a new output target shall be implemented this class have to be inherited

Methods

| Improve this Doc View Source

Setup()

An abstract implementation of the IWrapper keeping references to abstract output parameters valid for each output target and the corresponding mapper options.
Declaration
public override void Setup()
Overrides
AbstractWrapper.Setup()
Remarks
When a new output target shall be implemented this class have to be inherited

Implements

IWrapper
System.IDisposable

Extension Methods

Serializer.Save<T>(T, out Byte[], SerializerCompression)
Serializer.Save<T>(T, Stream, SerializerCompression)
Serializer.Save<T>(T, BinaryFormatter, Stream, SerializerCompression)
Serializer.Save<T>(T, String, SerializerCompression)
Serializer.Save<T>(T, String)
Matrix.Concatenate<T>(T, T[])
Matrix.Replace<T>(T, Object, Object)
DomainDataImporter.Import(Object, InputConfiguration)
ObjectSerialize.Serialize(Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © MARS GROUP. HAW Hamburg