maptek.vulcan.dgd
Interface for Vulcan design databases.
is_locked ( dgd self ) → bool
Returns dgd lock status by checking for lock files.
close ( dgd self )
Closes dgd.
is_layer ( dgd self, std::string const & name ) → bool
Checks if a layer exists in the dgd.
get_layer ( dgd self, std::string const name ) → layer
Gets a layer from the database.
is_open ( dgd self ) → bool
Checks if the database is open.
num_layers ( dgd self ) → int
Returns the number of layers in the database.
list_layers ( dgd self ) → string_list
Lists the layers in the database.
delete_layer ( dgd self, std::string const & layer ) → bool
Deletes a layer in the database.
save_layer ( dgd self, layer layerInstance ) → bool
Saves a layer to the database.
save_layer_as ( dgd self, std::string const name, layer layerInstance ) → bool
Saves a layer to the database with a new name.
append ( dgd self, layer layerInstance ) → bool
Adds a new layer to the database. (Raises on duplicates.)
layers
List of layers in database
locked
Database work lock status.
open
Database open status.