/* * VALIDATION GROUPS & Auxiliary Functions */ public void GValidate() { bool performGV; bool needsActionGV; needsActionGV = this.NeedsActionForValidate(DefsGV.TypeGV.ValidateTypeGlyphSource); if (needsActionGV) { this.CallGV(DefsGV.TypeGV.ValidateTypeGlyphSource); } if (this.typeGlyph == GConsts.TypeGlyph.Undef) { foreach (StatusGV stGV in this.statusGV) { stGV.StatusExec = StatusGV.TypeStatusExec.UnableToExec; } return; } if (this.typeGlyph == GConsts.TypeGlyph.Empty) { return; } if ((this.TypeGlyph == GConsts.TypeGlyph.Simple) || (this.TypeGlyph == GConsts.TypeGlyph.Composite)) { DefsGV.TypeGV[] orderTest = null; if (this.typeGlyph == GConsts.TypeGlyph.Simple) { orderTest = DefsGV.orderTestSimp; } if (this.typeGlyph == GConsts.TypeGlyph.Composite) { orderTest = DefsGV.orderTestComp; } FlagsGV flagsGV = this.fm.FlagsPerformGV; foreach (DefsGV.TypeGV typeGV in orderTest) { performGV = flagsGV[typeGV]; needsActionGV = this.NeedsActionForValidate(typeGV); if ((!performGV) || (!needsActionGV)) { continue; } this.CallGV(typeGV); } } }
public void ClearDestroy() { this.gerrPool.ClearDestroy(); this.gStore.ClearDestroy(); // clear common information this.fwNumGlyph = GConsts.IND_UNINITIALIZED; this.gerrPool = null; this.gStore = null; this.f_performGV.Clear(); this.f_performGC.Clear(); this.f_performGV = null; this.f_performGC = null; this.i_IOGlyphs = null; this.i_ProgressUpdater = null; }
/* * CONSTRUCTORS */ public FManager() { // storage this.gerrPool = new GErrPool(); this.gStore = new GStore(); this.grel = new GRelations(); this.indGM = new ArrayList(); this.pathCompBind = new ArrayList(); // font information this.fwNumGlyph = GConsts.IND_UNINITIALIZED; // interfaces this.i_IOGlyphs = null; // flags - which tests shoud be performed this.f_performGV = new FlagsGV(); this.f_performGC = new Flags(typeof(DefsGM.TypeGM)); this.FlagsSetDefault(); // glyph as fm holder // Glyph glyph=new Glyph(GConsts.IND_UNDEFINED,this); }
/* * CONSTRUCTORS */ public FManager() { // storage this.gerrPool=new GErrPool(); this.gStore=new GStore(); this.grel=new GRelations(); this.indGM=new ArrayList(); this.pathCompBind=new ArrayList(); // font information this.fwNumGlyph=GConsts.IND_UNINITIALIZED; // interfaces this.i_IOGlyphs=null; // flags - which tests should be performed this.f_performGV=new FlagsGV(); this.f_performGC=new Flags(typeof(DefsGM.TypeGM)); this.FlagsSetDefault(); // glyph as fm holder // Glyph glyph=new Glyph(GConsts.IND_UNDEFINED,this); }
public void ClearDestroy() { this.gerrPool.ClearDestroy(); this.gStore.ClearDestroy(); // clear common information this.fwNumGlyph=GConsts.IND_UNINITIALIZED; this.gerrPool=null; this.gStore=null; this.f_performGV.Clear(); this.f_performGC.Clear(); this.f_performGV=null; this.f_performGC=null; this.i_IOGlyphs=null; this.i_ProgressUpdater=null; }