All Frameworks  Class Hierarchy  This Framework  Indexes

VPMTpManager Class CATVpmTPServices

CATVpmTPServices
 

Usage: you must use this class as is. You should never derive it.


public class CATVpmTPServices


Deprecated:
V5R14 Class providing different basic services. Role: Manages transformations between unicode, sequence and strings...


Method Index


o IsCaseSensitive()
Returns whether the Case Sensitive flag is currently set to TRUE (Case Sensitive) or FALSE (Case Unsensitive).
o ResetCaseSensitive()
Resets the Case Sensitive flag to TRUE (default), and the FAIL SAFE flag back to -1, so that the new logic is bypassed by other methods calling GetListOfObjects WARNING: This should ONLY be used for the DMU Attribute Filter for now.
o SequenceToSequence(SEQUENCE(octet)&)
Converts Sequence id to sequence.
o SequenceToUnicode(SEQUENCE_octet&)
Converts a Sequence id into a CATUnicodeString.
o SetCaseSensitive()
Sets the Case Sensitive flag to TRUE, which means that the CATVpmQuery in GetListOfObjects will be set to Case Sensitive.
o SetCaseUnsensitive()
Sets the Case Sensitive flag to FALSE, which means that the CATVpmQuery in GetListOfObjects will be set to Case Unsensitive.
o ToBstr(CATUnicodeString&)
Converts a CATUnicodeString into a Bstr.

Methods


o IsCaseSensitive
public static HRESULT IsCaseSensitive()
Returns whether the Case Sensitive flag is currently set to TRUE (Case Sensitive) or FALSE (Case Unsensitive). NOTE: Returned values are S_OK or E_FAIL, so that the SUCCEEDED and FAILED macros can be easily used.
o ResetCaseSensitive
public static void ResetCaseSensitive()
Resets the Case Sensitive flag to TRUE (default), and the FAIL SAFE flag back to -1, so that the new logic is bypassed by other methods calling GetListOfObjects WARNING: This should ONLY be used for the DMU Attribute Filter for now.
o SequenceToSequence
public static SEQUENCE_octet SequenceToSequence( const SEQUENCE(octet)& corbaVal)
Converts Sequence id to sequence.
Parameters:
seq
Sequence id.
o SequenceToUnicode
public static CATUnicodeString SequenceToUnicode( const SEQUENCE_octet& seq)
Converts a Sequence id into a CATUnicodeString.
Parameters:
seq
Sequence id.
o SetCaseSensitive
public static HRESULT SetCaseSensitive()
Sets the Case Sensitive flag to TRUE, which means that the CATVpmQuery in GetListOfObjects will be set to Case Sensitive. WARNING: This should ONLY be used for the DMU Attribute Filter for now. NOTE: After you have set the Case Sensitive flag and run the command that will call the GetListOfObjects in CATVpmTPServices, then you need to call the static method ResetCaseSensitive, just to ensure that future methods will properly be processed if they do not know about this new Case Sensitive flag feature.
o SetCaseUnsensitive
public static HRESULT SetCaseUnsensitive()
Sets the Case Sensitive flag to FALSE, which means that the CATVpmQuery in GetListOfObjects will be set to Case Unsensitive. WARNING: This should ONLY be used for the DMU Attribute Filter for now. NOTE: After you have set the Case Sensitive flag and run the command that will call the GetListOfObjects in CATVpmTPServices, then you need to call the static method ResetCaseSensitive, just to ensure that future methods will properly be processed if they do not know about this new Case Sensitive flag feature.
o ToBstr
public static CATBSTR ToBstr( const CATUnicodeString& iStr)
Converts a CATUnicodeString into a Bstr.
Parameters:
iStr
String to convert.

This object is included in the file: CATVpmTPServices.h
If needed, your Imakefile.mk should include the module: VPMTPManager

Copyright © 2003, Dassault Systèmes. All rights reserved.