View

Top  Previous  Next

With a View the data supplies can be reorganised, subsets of the data supplies can be delivered to single users, and many unterplans (sheet cuts) can be generated from a big plan. A View is deposited in a sheet type as a text file which contain the description for the qualities of the View. With the store the real plan is generated from this description and the real data in another sheet type.

 

Syntax

 

view:                                viewEntry view                        |

                         ;

 

viewEntry:                        nameEntry                                |

                         objEntry                                |

                         musterEntry                                |

                         dirEntry                                ;

 

objEntry:                        "OBJECTS" lists                        ;

 

nameEntry:                        "NAME" string                        ;

 

dirEntry:                        "To YOU" string "FORMAT" string        ;

 

musterEntry:                "FILES" string                        ;

 

 

lists:                        listenEl restListe                ;

 

restListe:                        "," listenEl restListe                |

                         ;

 

listenEl:                        uprightly                                |

                         uprightly "-" uprightly                ;

 

 

uprightly:                        <pay>                                |

                         "-" <pay>                                ;

 

 

string:                        """ <zeichenkette >"""                ;

 

Description

 

view

A View file exists of a sequence of single View descriptions. Everybody is concluded in itself and can be also evacuated in a separate file.

 

viewEntry

A View definition exists of the parts:

 

Area

Object key

Name

List

Pattern

 

The order is any

 

Syntax:

 

OBJECTS lists

 

The whole plan is not loaded. Instead of this the objects whose keys with the given list agree are loaded. The list exists of areas and single keys which are separated by commas. Areas are provided with a minus sign:

 

IN 1000

Single key in 1000

IN 1001-1100

Key area of 1001 to including in 1100

 

 

1.2

Objects with the keys 1 and at the same time 2

1-2

Objects with a key between 1 and 2

1-100,2000

Objects with two keys. The keys are in 2000 and a key between 1 and 100.

 

It can seem in a VIEW definition several OBJECTS entries. Then all objects which correspond at least to one of these entries are loaded.

 

TO RANK YOU "nnn" FORMAT "fff"

 

Authoritative plans are defined. The plans are taken from the Blattyp nnn. As a filter the fff format is used. As a format can be also put down PV. Then the authoritative plans from the plan management are generated and must not exist really. Several authoritative plan definitions can exist.

 

NAME "xxx"

 

The View has the name xxx. Where this definition is admitted the name of the View, followed by a colon and the name of the data sheet is loaded as a sheet name.

 

To YOU "nnn" FORMAT "FFF"

 

The data sheets exist in the Blattyp nnn with the reading filter FFF. The data are loaded from this Blattyp. It can seem several to YOU instructions in a Viewdefinition. Then the sheets from all sheet types are considered. The lists are given. Paths are not admitted.

 

FILES „abc *“

 

Information of a pattern for which the sheets from the data dictionary must be enough to be considered. With the information abc* it concerns a regular expression. The file names are converted before into capital letter. Only one file instruction may exist.

 

Function

According to parametres given the reaction of a Views is different. The following table describes what View originates if the suitable entries exist.

 

Name

Key

List

Area

Function

-

-

nnn

mmm

-

With information of one or several entries to YOU nnn it is tried to read a plan from the suitable list. The first found plan is the plan which corresponds to this View.

VV

-

nnn

mmm

-

With information of one or several entries to YOU nnn it is tried to read a plan from the suitable list. The first found plan is the plan which corresponds to this View. Before the name of the plan the name of the View, followed by a colon becomes sedate. If a View is loaded in the sheet type 1000 with name VV and list information 999, the plan xxxx from the list 999 is put on under the name VV:xxxx in the sheet type 1000.

VV

n1, n2-n3

nnn

mmm

-

With information of one or several entries to YOU nnn it is tried to read a plan from the suitable list. The first found plan is the plan which corresponds to this View. Before the name of the plan the name of the View, followed by a colon becomes sedate. If a View is loaded in the sheet type 1000 with name VV and list information 999, the plan xxxx from the list 999 is put on under the name VV:xxxx in the sheet type 1000. However, the whole plan is not loaded, but only the objects with the key n1 and a key from the area n2-n3, So only objects with 2 keys. If a key information is negative, the key is optional.

-

 

IN 1000

IN 1001

It are indicated for every combination by plans xxx from the list 1001 and yyy from the list 1000 a plan yyy:xxx. With the store of such a plan the objects are loaded which are in the plan yyy and touch the area xxx. The loaded plan yyy:xxx has the borders of the plan xxx as sheet borders.

 

Example

 

1.

In the lists 1010, 1011 and 1012 there are DBB plans.

In the list 150 is the Viewdefinition ALL.VIEW:

 

TO YOU "1011" FORMATS "DBB"

TO YOU "1012" FORMATS "DBB"

 

While opening list 150 appear all plans from the lists 1011 and 1012. With the store the plans are put on in the Blattyp 150, they have as a format directly DBB and are protected again in the lists 1011 or 1012.

 

2.

In the list 150 is the Viewdefinition land register. VIEW:

 

NAME "Cat."

To YOU "land register" FORMAT "DBB"

OBJECTS 1-7999,-1 - IN 7999,-1 - IN 7999

 

All plans from the list 1010 are indicated in the list 150 and before every plan name „CAT.:“ it is put. In the plans all objects with a key from the area appear from 1 to 7999 and up to 2 other keys from this area.

 

3.

In the list 150 is the Viewdefinition GAS.VIEW:

 

NAME "GAS"

TO YOU "1012" FORMATS "DBB"

 

All plans from the list 1012 are indicated in the list 150 and before every plan name „GAS:“ it is put. The plans are loaded completely, receive the loading type VIEW and are protected with the memory again in the original plans.