internal virtual object PublishClone(AutomaticSubtotalContext context)
        {
            MapSpatialData obj = (MapSpatialData)MemberwiseClone();

            obj.m_map            = context.CurrentMapClone;
            obj.m_mapVectorLayer = context.CurrentMapVectorLayerClone;
            return(obj);
        }
Beispiel #2
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.MapDataRegionName:
                    m_mapDataRegionName = reader.ReadString();
                    break;

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

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

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

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

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

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

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

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
 internal MapSpatialData(MapVectorLayer mapVectorLayer, Map map)
 {
     m_defObject      = mapVectorLayer.MapVectorLayerDef.MapSpatialData;
     m_mapVectorLayer = mapVectorLayer;
     m_map            = map;
 }