StringMetadataFilter Class Reference

This implementation is an abstract base class for String metadata filters. More...

Inherits Simba::DSI::DSIMetadataFilter.

Inherited by IDMetadataFilter, OAMetadataFilter, PVMetadataFilter, and VLMetadataFilter.

List of all members.

Public Member Functions

SqlDataGetSqlData () const
 Returns the data container which is passed down to the metadata source as a means for the metadata source to give data to DSI.
virtual ~StringMetadataFilter ()
 Destructor.

Protected Member Functions

 StringMetadataFilter (IConnection &in_parentConnection, Simba::DSI::DSIOutputMetadataColumnTag in_tag, bool in_isWide)
 Constructor.

Static Protected Member Functions

static AutoArrayPtr< simba_byte > ConvertToEncoding (const simba_wstring &in_source, EncodingType in_targetEncoding, IWStringConverter &in_converter)
 Convert the given simba_wstring into the given encoding.

Protected Attributes

IConnectionm_parentConnection
 Connection used by Clone() to construct relevant metadata.
const EncodingType m_sourceEnc
const AutoPtr< SqlDatam_sqlData
const AutoPtr< SqlTypeMetadatam_typeMetadata

Detailed Description

This implementation is an abstract base class for String metadata filters.


Constructor & Destructor Documentation

virtual ~StringMetadataFilter (  )  [virtual]

Destructor.

StringMetadataFilter ( IConnection in_parentConnection,
Simba::DSI::DSIOutputMetadataColumnTag  in_tag,
bool  in_isWide 
) [protected]

Constructor.

Parameters:
in_parentConnection Connection used to construct relevant metadata. If NULL, use global singletons for metadata.
in_tag The column tag identifying which output column this filter applies to.
in_isWide True if the filter expects a wide string from the metadata source; False otherwise.

Member Function Documentation

static AutoArrayPtr<simba_byte> ConvertToEncoding ( const simba_wstring in_source,
EncodingType  in_targetEncoding,
IWStringConverter in_converter 
) [static, protected]

Convert the given simba_wstring into the given encoding.

Parameters:
in_source The string to convert.
in_targetEncoding The encoding to convert to.
in_converter The converter to convert with.
Returns:
An AutoArrayPtr containing the converted data, or a NULL AutoArrayPtr if in_source was a NULL simba_wstring.
SqlData* GetSqlData (  )  const [virtual]

Returns the data container which is passed down to the metadata source as a means for the metadata source to give data to DSI.

Returns:
Data container.

Implements DSIMetadataFilter.


Member Data Documentation

Connection used by Clone() to construct relevant metadata.

const EncodingType m_sourceEnc [protected]
const AutoPtr<SqlData> m_sqlData [protected]

The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:16 2017 for SimbaEngine 10.1.3.1011 by simba