C# Class JointMilitarySymbologyLibrary.ETL

Show file Open project: Esri/joint-military-symbology-xml

Protected Properties

Property Type Description
logger Logger

Public Methods

Method Description
ETL ( JointMilitarySymbologyLibrary.Librarian librarian ) : System
Export ( string path, string symbolSetExpression = "", string expression = "", bool exportPoints = true, bool exportLines = true, bool exportAreas = true, ETLExportEnum exportType = ETLExportEnum.ETLExportSimple, bool append = false, bool omitSource = false, bool omitLegacy = false, long size = 32 ) : void
ExportAmplifierValueDomains ( string path, bool append = false ) : void
ExportAmplifiers ( string path, ETLExportEnum exportType = ETLExportEnum.ETLExportSimple, bool append = false, bool omitSource = false, bool omitLegacy = false, long size = 32, string amplifierExpression = "" ) : void
ExportContext ( string path, bool dataValidation = false, bool append = false ) : void
ExportDomains ( string path, bool dataValidation, bool append = false ) : void
ExportFrames ( string path, string contextExpression = "", string standardIdentityExpression = "", string dimensionExpression = "", ETLExportEnum exportType = ETLExportEnum.ETLExportSimple, bool append = false, bool omitSource = false, bool omitLegacy = false, long size = 32 ) : void
ExportHQTFFD ( string path, ETLExportEnum exportType = ETLExportEnum.ETLExportSimple, bool append = false, bool omitSource = false, bool omitLegacy = false, long size = 32 ) : void
ExportLegacy ( string path ) : void
ExportLegacyEntities ( string path, string standard, long size = 32 ) : void
ExportLegacyFrames ( string path, string standard, long size = 32, bool append = false ) : void
ExportLegacyLookup ( string path, string standard, bool asOriginal, bool includeAmplifiers, bool append ) : void
ExportOCA ( string path, string statusPath, ETLExportEnum exportType = ETLExportEnum.ETLExportSimple, bool append = false, bool omitSource = false, bool omitLegacy = false, long size = 32 ) : void
ExportSchemas ( string path ) : void
Import ( string path, string modPath, string symbolsetCode, string legacyCode ) : void
ImportLegacyData ( string source, string destination ) : void

Private Methods

Method Description
_cleanString ( string s ) : string
_deserializeSymbolSet ( string path ) : SymbolSet
_exportAmplifier ( string path, bool dataValidation, bool append = false, bool isFirst = false ) : void
_exportAmplifierValueDomains ( string path, bool append = false ) : void
_exportAmplifierValues ( string path, LibraryAmplifierValues values, bool append, bool isFirst ) : void
_exportContext ( string path, bool dataValidation = false, bool append = false, bool isFirst = false, bool appendFileName = true ) : void
_exportContextDetails ( string headers, string path, bool dataValidation = false, bool append = false, bool isFirst = false ) : void
_exportEntities ( ETLExportEnum exportType, IEntityExport exporter, string path, string specialPath, string symbolSetExpression = "", string expression = "", bool exportPoints = true, bool exportLines = true, bool exportAreas = true, bool append = false ) : void
_exportHQTFDummy ( string path, bool dataValidation, bool append = false, bool isFirst = false ) : void
_exportLegacyData ( string path ) : void
_exportMod ( StreamWriter w, SymbolSet s, ModifiersTypeModifier mod, string modNumber, IModifierExport exporter, string expression ) : void
_exportModifier1 ( IModifierExport exporter, string path, string symbolSetExpression = "", string expression = "", bool append = false ) : void
_exportModifier2 ( IModifierExport exporter, string path, string symbolSetExpression = "", string expression = "", bool append = false ) : void
_exportModifiers ( IModifierExport exporter, string path1, string path2, string symbolSetExpression = "", string expression = "", bool append = false ) : void
_exportSpecialEntities ( ETLExportEnum exportType, IEntityExport exporter, SymbolSet s, StreamWriter w, EntitySubTypeType array ) : void
_exportStandardIdentity ( string path, bool dataValidation, bool append = false, bool isFirst = false ) : void
_exportStatus ( string path, bool dataValidation, bool append = false, bool isFirst = false ) : void
_exportSymbolSet ( string path, bool dataValidation, bool append = false, bool isFirst = false ) : void
_exportSymbolSetCodes ( string path ) : void
_importCSV ( string path, string modPath, string ssCode, string legacyCode ) : void
_importLegacyData ( string source, string destination ) : void
_serializeSymbolSet ( SymbolSet ss, string path ) : void
_writeCode ( StreamWriter w, string name, string digitOne, string digitTwo ) : void
_writeEntity ( int &mode, StreamWriter w, string id, string label, string one, string two, string graphic ) : void
_writeEntitySubType ( int &mode, StreamWriter w, string id, string label, string one, string two, string graphic ) : void
_writeEntityType ( int &mode, StreamWriter w, string id, string label, string one, string two, string graphic ) : void
_writeModifier ( StreamWriter w, string id, string label, string one, string two, string graphic ) : void
_writeModifiers ( string modPath, StreamWriter w, string setToDo, string modToDo ) : void

Method Details

ETL() public method

public ETL ( JointMilitarySymbologyLibrary.Librarian librarian ) : System
librarian JointMilitarySymbologyLibrary.Librarian
return System

Export() public method

public Export ( string path, string symbolSetExpression = "", string expression = "", bool exportPoints = true, bool exportLines = true, bool exportAreas = true, ETLExportEnum exportType = ETLExportEnum.ETLExportSimple, bool append = false, bool omitSource = false, bool omitLegacy = false, long size = 32 ) : void
path string
symbolSetExpression string
expression string
exportPoints bool
exportLines bool
exportAreas bool
exportType ETLExportEnum
append bool
omitSource bool
omitLegacy bool
size long
return void

ExportAmplifierValueDomains() public method

public ExportAmplifierValueDomains ( string path, bool append = false ) : void
path string
append bool
return void

ExportAmplifiers() public method

public ExportAmplifiers ( string path, ETLExportEnum exportType = ETLExportEnum.ETLExportSimple, bool append = false, bool omitSource = false, bool omitLegacy = false, long size = 32, string amplifierExpression = "" ) : void
path string
exportType ETLExportEnum
append bool
omitSource bool
omitLegacy bool
size long
amplifierExpression string
return void

ExportContext() public method

public ExportContext ( string path, bool dataValidation = false, bool append = false ) : void
path string
dataValidation bool
append bool
return void

ExportDomains() public method

public ExportDomains ( string path, bool dataValidation, bool append = false ) : void
path string
dataValidation bool
append bool
return void

ExportFrames() public method

public ExportFrames ( string path, string contextExpression = "", string standardIdentityExpression = "", string dimensionExpression = "", ETLExportEnum exportType = ETLExportEnum.ETLExportSimple, bool append = false, bool omitSource = false, bool omitLegacy = false, long size = 32 ) : void
path string
contextExpression string
standardIdentityExpression string
dimensionExpression string
exportType ETLExportEnum
append bool
omitSource bool
omitLegacy bool
size long
return void

ExportHQTFFD() public method

public ExportHQTFFD ( string path, ETLExportEnum exportType = ETLExportEnum.ETLExportSimple, bool append = false, bool omitSource = false, bool omitLegacy = false, long size = 32 ) : void
path string
exportType ETLExportEnum
append bool
omitSource bool
omitLegacy bool
size long
return void

ExportLegacy() public method

public ExportLegacy ( string path ) : void
path string
return void

ExportLegacyEntities() public method

public ExportLegacyEntities ( string path, string standard, long size = 32 ) : void
path string
standard string
size long
return void

ExportLegacyFrames() public method

public ExportLegacyFrames ( string path, string standard, long size = 32, bool append = false ) : void
path string
standard string
size long
append bool
return void

ExportLegacyLookup() public method

public ExportLegacyLookup ( string path, string standard, bool asOriginal, bool includeAmplifiers, bool append ) : void
path string
standard string
asOriginal bool
includeAmplifiers bool
append bool
return void

ExportOCA() public method

public ExportOCA ( string path, string statusPath, ETLExportEnum exportType = ETLExportEnum.ETLExportSimple, bool append = false, bool omitSource = false, bool omitLegacy = false, long size = 32 ) : void
path string
statusPath string
exportType ETLExportEnum
append bool
omitSource bool
omitLegacy bool
size long
return void

ExportSchemas() public method

public ExportSchemas ( string path ) : void
path string
return void

Import() public method

public Import ( string path, string modPath, string symbolsetCode, string legacyCode ) : void
path string
modPath string
symbolsetCode string
legacyCode string
return void

ImportLegacyData() public method

public ImportLegacyData ( string source, string destination ) : void
source string
destination string
return void

Property Details

logger protected static property

protected static Logger logger
return Logger