Table of Contents

Class AdditionalTotalFunctions

Namespace: FastReport.Olap.Slice
Assembly: FastCube.Core.dll

Helper class to access and change array of additional totals

public class AdditionalTotalFunctions

Inheritance

objectAdditionalTotalFunctions

Constructors

AdditionalTotalFunctions(AxisContainer)

Creates a new instance.

public AdditionalTotalFunctions(AxisContainer axisContainer)

Parameters

axisContainer AxisContainer

AdditionalTotalFunctions(AxisField)

Creates a new instance.

public AdditionalTotalFunctions(AxisField axisField)

Parameters

axisField AxisField

Properties

Count

Number of additional totals in array

public int Count { get; }

Property Value

int

this[int]

Get aggregate function at index

public AggregateFunction this[int index] { get; }

Property Value

AggregateFunction

Methods

Add(AggregateFunction)

Adds additional aggregate function to array if it does not present there

public int Add(AggregateFunction aggregateFunction)

Parameters

aggregateFunction AggregateFunction

aggregate function to add

Returns

int

Index of added / found aggregate function

Clear()

Removes all aggregate functions from array

public void Clear()

IndexOf(AggregateFunction)

Search for additional total with the specified aggregate function

public int IndexOf(AggregateFunction aggregateFunction)

Parameters

aggregateFunction AggregateFunction

aggregate function to search for

Returns

int

Index in array or -1 if not found

Remove(AggregateFunction)

Removes aggregate function from array

public void Remove(AggregateFunction aggregateFunction)

Parameters

aggregateFunction AggregateFunction