Exemplo n.º 1
0
        internal CubeMember(CubeHierarchy aHierarchy, CubeLevel aParentLevel,
                            string displayName, string description, string uniqueName, string shortName, bool raggedEmpty,
                            string levelName)
        {
            FHierarchy = aHierarchy;

            FParent = null;

            if (aHierarchy.FMDXLevelNames.Count > 0)
            {
                FMDXLevelIndex = aHierarchy.FMDXLevelNames.IndexOf(levelName);
            }

            FParentLevel   = aParentLevel;
            FDescription   = description;
            FUniqueName    = uniqueName.Trim();
            FShortName     = shortName.Trim();
            fDisplayName   = displayName.Trim();
            FRaggedVirtual = raggedEmpty;
            FRank          = aParentLevel.FUniqueNamesArray.Count;
            aParentLevel.FUniqueNamesArray.Add(FUniqueName, this);
            // aParentLevel.FUniqueNamesArray[FUniqueName] = this;
            aParentLevel.RegisterMember(this);
        }
Exemplo n.º 2
0
 internal CubeMember(CubeHierarchy AHierarchy, CubeLevel AParentLevel)
 {
     FHierarchy     = AHierarchy;
     FMDXLevelIndex = -1;
     FParentLevel   = AParentLevel;
 }