VCOM:VectorWorks:ISDK::CStringCompare

From Vectorworks Developer
Revision as of 10:00, 12 August 2013 by Root (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference


Description

namespace VectorWorks

Member of VCOM:VectorWorks:ISDK

Compares the C strings cStr1 and cStr2, returning one of the following values from EStringCompareResult: kEqualStrings, kFirstStringSmaller, kFirstStringBigger. The compare uses the flags from EStringCompare, which currently has: kDefaultCompare, kIncludeCase, kIgnoreCase. (kDefaultCompare is what VW uses internally to compare names - currently it is equal to kIgnoreCase.)

virtual Sint16 CStringCompare(
const TXString& cStr1,
const TXString& cStr2,
const short compareFlags)

Parameters

constTXString& cStr1 No information available.
constTXString& cStr2 No information available.
constshort compareFlags No information available.

Return Value

On error returns: 0

Version

Availability: from Vectorworks 2009
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox