Class CubeFields
Namespace: FastReport.Olap.Cube
Assembly: FastCube.Core.dll
Continaer for cube fields
public class CubeFields
Inheritance
Constructors
CubeFields(Cube)
Creates a new instnace for cube.
public CubeFields(Cube cube)
Parameters
cube
Cube
Properties
ComparerType
Gets or sets type of comparer.
public FieldComparerType ComparerType { get; set; }
Property Value
Count
Gets number of children.
public int Count { get; }
Property Value
Methods
Add(DataType, string, string)
Adds a new field with specified type, name and caption.
public int Add(DataType dataType, string name, string caption)
Parameters
dataType
DataType
name
string
caption
string
Returns
Add(DataType, string)
Adds a new field with specified type and name.
public int Add(DataType dataType, string name)
Parameters
dataType
DataType
name
string
Returns
Remarks
Caption equals name.
Add(CubeField)
Adds the field.
public int Add(CubeField cubeField)
Parameters
cubeField
CubeField
Returns
Add(Type, string, string)
Adds a new field with spcified type, name and caption.
public int Add(Type dataType, string name, string caption = null)
Parameters
dataType
Type
name
string
caption
string
Returns
Remarks
if caption is null, caption equals name.
AddDataSetField(BaseField, CubeField)
Add a new dataset field.
public int AddDataSetField(BaseField dsField, CubeField parent)
Parameters
dsField
BaseField
parent
CubeField
Returns
BuildTree()
Builds a tree.
public Tree BuildTree()
Returns
GetFieldByIndex(int)
Gets field by index.
public CubeField GetFieldByIndex(int index)
Parameters
index
int
Returns
GetFieldByName(string)
Gets field by name.
public CubeField GetFieldByName(string name)
Parameters
name
string
Returns
GetFieldByOrder(int)
Gets field by order (by index).
public CubeField GetFieldByOrder(int index)
Parameters
index
int
Returns
GetFieldIndex(string)
Gets field index by name.
public int GetFieldIndex(string name)
Parameters
name
string
Returns
Reindex()
Index sort with specified comparer.
public void Reindex()