CogIOStreamFormatter ClassCognex VisionPro 9.8
Provide an abstraction for formatting a property value.
Inheritance Hierarchy

System Object
  Cognex.VisionPro.QuickBuild.IO CogIOStreamFormatter

Namespace: Cognex.VisionPro.QuickBuild.IO
Assembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 75.1.0.0 (75.1.0.0)
Syntax

public abstract class CogIOStreamFormatter

The CogIOStreamFormatter type exposes the following members.

Constructors

  NameDescription
Protected methodCogIOStreamFormatter
Initializes a new instance of CogIOStreamFormatter.
Top
Methods

  NameDescription
Public methodStatic memberCreateFormatter
Creates a new formatter from its display string.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFixLength
Public methodStatic memberGetFormattedString(Object, String)
Gets formatted string for value object.
Public methodStatic memberGetFormattedString(Object, CogIOStreamElementList, String)
Gets formatted string for propeties of an instance of any object. The properties are defined in the element list.
Public methodStatic memberGetFormattedString(Object, String, String)
Gets formatted string for a property of an instance of any object.
Public methodStatic memberGetFormattedString(ICogRecord, CogIOStreamElementList, String)
Gets formatted string for a ICogRecord.
Public methodStatic memberGetFormattedString(ICogRecord, CogIOStreamElementList, String, String)
Gets formatted string for a ICogRecord.
Public methodStatic memberGetFormatter(String)
Gets a formatter.
Public methodStatic memberGetFormatter(String, Boolean)
Gets a formatter.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsSupported
Check if this formatter support a specified type of object.
Public methodStatic memberIsValidFormat(String)
Check if a format string is value
Public methodStatic memberIsValidFormat(String, Object)
Check if a format string is value
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodParsingFormatExpression(Int32 , Boolean , String )
Parsing the format expression.
Public methodParsingFormatExpression(Int32 , Boolean , String , Boolean )
Parsing the format expression.
Public methodParsingFormatExpression(Int32 , Boolean , String , Boolean , Int32 )
Parsing the format expression.
Public methodToString 
Converts the formater to string.
(Overrides Object ToString .)
Public methodToString(Object)
Converts a value to a formatted string defined by this formatter.
Top
Fields

  NameDescription
Public fieldStatic memberDefaultFormatter
The default property formater.
Public fieldStatic memberPrefefinedList
The system predefined list of formatters.
Top
Properties

  NameDescription
Public propertyDisplayString
Gets display string for this formatter.
Public propertyFormatExpression
Gets format expression for this formatter.
Top
See Also