Example #1
0
 public CodeSymbolCodeBitIterator(ICodeSymbolCode csc, uint startIndex, uint length)
 {
     this.symbolCode      = csc;
     this.bitString       = csc.GetBitString();
     this.startPosition   = startIndex;
     this.endPosition     = startIndex + length;
     this.currentPosition = this.startPosition;
 }
Example #2
0
 public DrawableCodeSymbolCode(ICodeSymbolCode codeSymbolCode, CodeSymbolCodeDrawingProperties drawingProperties)
 {
     this.CodeSymbolCode    = codeSymbolCode;
     this.DrawingProperties = drawingProperties;
     this.DrawSymbolCode    = false;
     this.DrawSymbolValues  = false;
     this.DrawSymbolIndices = false;
     this.DrawBitIndices    = false;
 }
        private void HandleUniqueCodeChange(ICodeSymbolCode newCodeSymbolCode, PropertyType propertyType)
        {
            var symbolList = new List <ICodeSymbolCode>();

            if (newCodeSymbolCode != null)
            {
                symbolList.Add(newCodeSymbolCode);
            }

            this.HandleCodeChange(symbolList, propertyType);
        }
Example #4
0
 internal EncodedMessage(IBitIterator it, MessageMode setMode, CodeSymbolCode <MessageModeSymbol> setMessageModeSymbolCode)
 {
     this.MessageModeSymbolCode = setMessageModeSymbolCode;
     this.mode = setMode;
     this.ParseEncodingMessage(it, mode);
 }
 private void HandleTerminatorSymbolChanged(ICodeSymbolCode newTerminatorSymbol)
 {
     this.HandleUniqueCodeChange(newTerminatorSymbol, PropertyType.TerminatorSymbol);
 }
 private void HandlePaddingBytesChanged(ICodeSymbolCode newPaddingBytes)
 {
     this.HandleUniqueCodeChange(newPaddingBytes, PropertyType.PaddingBytes);
 }
 private void HandleRawECCBytesChanged(ICodeSymbolCode newRawECCBytes)
 {
     this.HandleUniqueCodeChange(newRawECCBytes, PropertyType.RawECCBytes);
 }
 private void HandleRawCodeChanged(ICodeSymbolCode newRawCode)
 {
     this.HandleUniqueCodeChange(newRawCode, PropertyType.RawCode);
 }
Example #9
0
 public CodeSymbolCodeBitIterator(ICodeSymbolCode csc) : this(csc, 0, csc.BitCount)
 {
 }