Пример #1
0
        public virtual void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.FirstRowIndex:
                    m_firstRowOffset = reader.ReadInt64();
                    break;

                case MemberName.DataRegionInstances:
                    m_dataRegionInstances = reader.ReadGenericListOfRIFObjects <IReference <DataRegionInstance> >();
                    break;

                case MemberName.SubReportInstances:
                    m_subReportInstances = reader.ReadGenericListOfRIFObjects <IReference <SubReportInstance> >();
                    break;

                case MemberName.AggregateValues:
                    m_aggregateValues = reader.ReadGenericListOfRIFObjects <DataAggregateObjResult>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        void IPersistable.Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(ParameterDef.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Prompt:
                    this.m_prompt = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ValidValuesDataSource:
                    this.m_validValuesDataSource = (ParameterDataSource)reader.ReadRIFObject();
                    break;

                case MemberName.ValidValuesValueExpression:
                    this.m_validValuesValueExpressions = reader.ReadGenericListOfRIFObjects <ExpressionInfo>();
                    break;

                case MemberName.ValidValuesLabelExpression:
                    this.m_validValuesLabelExpressions = reader.ReadGenericListOfRIFObjects <ExpressionInfo>();
                    break;

                case MemberName.DefaultValueDataSource:
                    this.m_defaultDataSource = (ParameterDataSource)reader.ReadRIFObject();
                    break;

                case MemberName.ExpressionList:
                    this.m_defaultExpressions = reader.ReadGenericListOfRIFObjects <ExpressionInfo>();
                    break;

                case MemberName.DependencyList:
                {
                    List <ParameterDef> list = reader.ReadGenericListOfRIFObjects <ParameterDef>();
                    if (list != null)
                    {
                        this.m_dependencyList = list;
                    }
                    break;
                }

                case MemberName.DependencyRefList:
                    this.m_dependencyList = reader.ReadGenericListOfReferences <ParameterDef>(this);
                    break;

                case MemberName.ExprHostID:
                    this.m_exprHostID = reader.ReadInt32();
                    break;

                case MemberName.ReferenceID:
                    this.m_referenceId = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Пример #3
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.NonComputedReportItems:
                    m_nonComputedReportItems = reader.ReadGenericListOfRIFObjects <ReportItem>();
                    break;

                case MemberName.ComputedReportItems:
                    m_computedReportItems = reader.ReadGenericListOfRIFObjects <ReportItem>();
                    break;

                case MemberName.SortedReportItems:
                    m_sortedReportItemList = reader.ReadGenericListOfRIFObjects <ReportItemIndexer>();
                    break;

                case MemberName.ROMIndexMap:
                    m_romIndexMap = reader.ReadListOfPrimitives <int>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Пример #4
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(Filter.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Expression:
                    this.m_expression = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Operator:
                    this.m_operator = (Operators)reader.ReadEnum();
                    break;

                case MemberName.Values:
                    this.m_values = reader.ReadGenericListOfRIFObjects <ExpressionInfoTypeValuePair>();
                    break;

                case MemberName.ExprHostID:
                    this.m_exprHostID = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Пример #5
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.GaugeScales:
                    m_gaugeScales = reader.ReadGenericListOfRIFObjects <RadialScale>();
                    break;

                case MemberName.PivotX:
                    m_pivotX = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.PivotY:
                    m_pivotY = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Пример #6
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(Action.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ActionItemList:
                    this.m_actionItemList = reader.ReadGenericListOfRIFObjects <ActionItem>();
                    break;

                case MemberName.StyleClass:
                    this.m_styleClass = (Style)reader.ReadRIFObject();
                    break;

                case MemberName.TrackFieldsUsedInValueExpression:
                    this.m_trackFieldsUsedInValueExpression = reader.ReadBoolean();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Пример #7
0
        public virtual void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(MapSpatialElement.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Map:
                    this.m_map = reader.ReadReference <Map>(this);
                    break;

                case MemberName.MapVectorLayer:
                    this.m_mapVectorLayer = reader.ReadReference <MapVectorLayer>(this);
                    break;

                case MemberName.VectorData:
                    this.m_vectorData = reader.ReadString();
                    break;

                case MemberName.MapFields:
                    this.m_mapFields = reader.ReadGenericListOfRIFObjects <MapField>();
                    break;

                case MemberName.ExprHostID:
                    this.m_exprHostID = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Пример #8
0
        public virtual void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.JoinConditions:
                    m_joinConditions = reader.ReadGenericListOfRIFObjects <JoinCondition>();
                    break;

                case MemberName.NaturalJoin:
                    m_naturalJoin = reader.ReadBoolean();
                    break;

                case MemberName.RelatedDataSet:
                    m_relatedDataSet = reader.ReadReference <DataSet>(this);
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Пример #9
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(MapTileLayer.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.ServiceUrl:
                    this.m_serviceUrl = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.TileStyle:
                    this.m_tileStyle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.UseSecureConnection:
                    this.m_useSecureConnection = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MapTiles:
                    this.m_mapTiles = reader.ReadGenericListOfRIFObjects <MapTile>();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Пример #10
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.DataSetName:
                    m_dataSetName = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.SpatialField:
                    m_spatialField = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MapFieldNames:
                    m_mapFieldNames = reader.ReadGenericListOfRIFObjects <MapFieldName>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Пример #11
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(ReportQuery.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.CommandType:
                    this.m_commandType = (CommandType)reader.ReadEnum();
                    break;

                case MemberName.CommandText:
                    this.m_commandText = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.QueryParameters:
                    this.m_queryParameters = reader.ReadGenericListOfRIFObjects <ParameterValue>();
                    break;

                case MemberName.Timeout:
                    this.m_timeOut = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(false, string.Empty);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.MapPolygonTemplate:
                    m_mapPolygonTemplate = (MapPolygonTemplate)reader.ReadRIFObject();
                    break;

                case MemberName.MapPolygonRules:
                    m_mapPolygonRules = (MapPolygonRules)reader.ReadRIFObject();
                    break;

                case MemberName.MapPointTemplate:
                    m_mapCenterPointTemplate = (MapPointTemplate)reader.ReadRIFObject();
                    break;

                case MemberName.MapPointRules:
                    m_mapCenterPointRules = (MapPointRules)reader.ReadRIFObject();
                    break;

                case MemberName.MapPolygons:
                    m_mapPolygons = reader.ReadGenericListOfRIFObjects <MapPolygon>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Пример #13
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(MapLineLayer.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.MapLineTemplate:
                    this.m_mapLineTemplate = (MapLineTemplate)reader.ReadRIFObject();
                    break;

                case MemberName.MapLineRules:
                    this.m_mapLineRules = (MapLineRules)reader.ReadRIFObject();
                    break;

                case MemberName.MapLines:
                    this.m_mapLines = reader.ReadGenericListOfRIFObjects <MapLine>();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Пример #14
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.GaugePointers:
                    m_gaugePointers = reader.ReadGenericListOfRIFObjects <RadialPointer>();
                    break;

                case MemberName.Radius:
                    m_radius = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.StartAngle:
                    m_startAngle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.SweepAngle:
                    m_sweepAngle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Пример #15
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.GaugePointers:
                    m_gaugePointers = reader.ReadGenericListOfRIFObjects <LinearPointer>();
                    break;

                case MemberName.StartMargin:
                    m_startMargin = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.EndMargin:
                    m_endMargin = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Position:
                    m_position = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Пример #16
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(MapVectorLayer.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.MapDataRegionName:
                    this.m_mapDataRegionName = reader.ReadString();
                    break;

                case MemberName.MapBindingFieldPairs:
                    this.m_mapBindingFieldPairs = reader.ReadGenericListOfRIFObjects <MapBindingFieldPair>();
                    break;

                case MemberName.MapFieldDefinitions:
                    this.m_mapFieldDefinitions = reader.ReadGenericListOfRIFObjects <MapFieldDefinition>();
                    break;

                case MemberName.MapSpatialData:
                    this.m_mapSpatialData = (MapSpatialData)reader.ReadRIFObject();
                    break;

                case MemberName.ExprHostMapMemberID:
                    this.m_exprHostMapMemberID = reader.ReadInt32();
                    break;

                case MemberName.ID:
                    this.m_ID = reader.ReadInt32();
                    break;

                case MemberName.DataElementName:
                    this.m_dataElementName = reader.ReadString();
                    break;

                case MemberName.DataElementOutput:
                    this.m_dataElementOutput = (DataElementOutputTypes)reader.ReadEnum();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Пример #17
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.AggregatesSpanGroupFilter:
                    m_aggregatesSpanGroupFilter = reader.ReadBoolean();
                    break;

                case MemberName.AggregatesOfAggregates:
                    m_aggregatesOfAggregates = (BucketedDataAggregateInfos)reader.ReadRIFObject();
                    break;

                case MemberName.PostSortAggregatesOfAggregates:
                    m_postSortAggregatesOfAggregates = (BucketedDataAggregateInfos)reader.ReadRIFObject();
                    break;

                case MemberName.RunningValuesOfAggregates:
                    m_runningValuesOfAggregates = reader.ReadGenericListOfRIFObjects <RunningValueInfo>();
                    break;

                case MemberName.ScopeID:
                    m_scopeID = reader.ReadInt32();
                    break;

                case MemberName.HasAggregatesToUpdateAtRowScope:
                    m_hasAggregatesToUpdateAtRowScope = reader.ReadBoolean();
                    break;

                case MemberName.IsDecomposable:
                    m_isDecomposable = reader.ReadBoolean();
                    break;

                case MemberName.DataSet:
                    m_dataSet = reader.ReadReference <DataSet>(this);
                    break;

                case MemberName.JoinInfo:
                    m_joinInfo = (JoinInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DataPipelineID:
                    m_dataPipelineID = reader.ReadInt32();
                    break;

                case MemberName.GroupingFieldIndicesForServerAggregates:
                    m_groupingFieldIndicesForServerAggregates = reader.ReadListOfPrimitives <int>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Пример #18
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Source:
                    m_source = (Microsoft.ReportingServices.OnDemandReportRendering.Image.SourceType)reader.ReadEnum();
                    break;

                case MemberName.Value:
                    m_value = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MIMEType:
                    m_MIMEType = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Sizing:
                    m_sizing = (Microsoft.ReportingServices.OnDemandReportRendering.Image.Sizings)reader.ReadEnum();
                    break;

                case MemberName.Action:
                    m_action = (Action)reader.ReadRIFObject();
                    break;

                case MemberName.Tag:
                {
                    ExpressionInfo expressionInfo = (ExpressionInfo)reader.ReadRIFObject();
                    if (expressionInfo != null)
                    {
                        m_tags = new List <ExpressionInfo>(1)
                        {
                            expressionInfo
                        };
                    }
                    break;
                }

                case MemberName.Tags:
                    m_tags = reader.ReadGenericListOfRIFObjects <ExpressionInfo>();
                    break;

                case MemberName.EmbeddingMode:
                    m_embeddingMode = (Microsoft.ReportingServices.OnDemandReportRendering.Image.EmbeddingModes)reader.ReadEnum();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(ChartLegendCustomItem.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Name:
                    this.m_name = reader.ReadString();
                    break;

                case MemberName.ExprHostID:
                    this.m_exprHostID = reader.ReadInt32();
                    break;

                case MemberName.Action:
                    this.m_action = (Action)reader.ReadRIFObject();
                    break;

                case MemberName.Marker:
                    this.m_marker = (ChartMarker)reader.ReadRIFObject();
                    break;

                case MemberName.Separator:
                    this.m_separator = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.SeparatorColor:
                    this.m_separatorColor = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ToolTip:
                    this.m_toolTip = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ChartLegendCustomItemCells:
                    this.m_chartLegendCustomItemCells = reader.ReadGenericListOfRIFObjects <ChartLegendCustomItemCell>();
                    break;

                case MemberName.ID:
                    this.m_id = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
 public void Deserialize(IntermediateFormatReader reader)
 {
     reader.RegisterDeclaration(GetSpecificDeclaration());
     while (reader.NextMember())
     {
         MemberName memberName = reader.CurrentMember.MemberName;
         if (memberName == MemberName.Buckets)
         {
             m_buckets = reader.ReadGenericListOfRIFObjects <AggregateBucket <T> >();
         }
         else
         {
             Global.Tracer.Assert(condition: false);
         }
     }
 }
Пример #21
0
 public virtual void Deserialize(IntermediateFormatReader reader)
 {
     reader.RegisterDeclaration(JoinInfo.m_Declaration);
     while (reader.NextMember())
     {
         MemberName memberName = reader.CurrentMember.MemberName;
         if (memberName == MemberName.Relationships)
         {
             this.m_relationships = reader.ReadGenericListOfRIFObjects <IdcRelationship>();
         }
         else
         {
             Global.Tracer.Assert(false);
         }
     }
 }
Пример #22
0
 public override void Deserialize(IntermediateFormatReader reader)
 {
     base.Deserialize(reader);
     reader.RegisterDeclaration(m_Declaration);
     while (reader.NextMember())
     {
         MemberName memberName = reader.CurrentMember.MemberName;
         if (memberName == MemberName.MapMarkers)
         {
             m_mapMarkers = reader.ReadGenericListOfRIFObjects <MapMarker>();
         }
         else
         {
             Global.Tracer.Assert(condition: false);
         }
     }
 }
 public virtual void Deserialize(IntermediateFormatReader reader)
 {
     reader.RegisterDeclaration(m_Declaration);
     while (reader.NextMember())
     {
         MemberName memberName = reader.CurrentMember.MemberName;
         if (memberName == MemberName.TopLevelScopeInstances)
         {
             m_topLevelScopeInstances = reader.ReadGenericListOfRIFObjects <IReference <ScopeInstance> >();
         }
         else
         {
             Global.Tracer.Assert(condition: false);
         }
     }
     reader.ResolveReferences();
 }
Пример #24
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(ActionItem.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.HyperLinkURL:
                    this.m_hyperLinkURL = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DrillthroughReportName:
                    this.m_drillthroughReportName = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DrillthroughParameters:
                    this.m_drillthroughParameters = reader.ReadGenericListOfRIFObjects <ParameterValue>();
                    break;

                case MemberName.DrillthroughBookmarkLink:
                    this.m_drillthroughBookmarkLink = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.BookmarkLink:
                    this.m_bookmarkLink = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Label:
                    this.m_label = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ExprHostID:
                    this.m_exprHostID = reader.ReadInt32();
                    break;

                case MemberName.Index:
                    this.m_computedIndex = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(GetSpecificDeclaration());
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Aggregates:
                    m_aggregates = reader.ReadGenericListOfRIFObjects <T>();
                    break;

                case MemberName.Level:
                    m_level = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(SharedDataSetQuery.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.QueryParameters:
                    this.m_queryParameters = reader.ReadGenericListOfRIFObjects <ParameterValue>();
                    break;

                case MemberName.OriginalSharedDataSetReference:
                    this.m_originalSharedDataSetReference = reader.ReadString();
                    break;

                default:
                    Global.Tracer.Assert(false, string.Empty);
                    break;
                }
            }
        }
Пример #27
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.StyleAttributes:
                    m_styleAttributes = reader.ReadStringRIFObjectDictionary <AttributeInfo>();
                    break;

                case MemberName.ExpressionList:
                    m_expressionList = reader.ReadGenericListOfRIFObjects <ExpressionInfo>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Пример #28
0
        public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(RdlFunctionInfo.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.RdlFunctionType:
                    this.m_functionType = (RdlFunctionType)reader.ReadEnum();
                    break;

                case MemberName.Expressions:
                    this.m_simpleExpressions = reader.ReadGenericListOfRIFObjects <ExpressionInfo>();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
Пример #29
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(MapShapefile.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Source:
                    this.m_source = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MapFieldNames:
                    this.m_mapFieldNames = reader.ReadGenericListOfRIFObjects <MapFieldName>();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(MapElementView.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.LayerName:
                    this.m_layerName = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MapBindingFieldPairs:
                    this.m_mapBindingFieldPairs = reader.ReadGenericListOfRIFObjects <MapBindingFieldPair>();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }