Public Methods | |
SRef (const NString &in) | |
operator const char * () const |
SRef<IString>::SRef(const NString &in)
SRef<IString>::operator const char*() const
All other members are identical to the standard SRef.
|
This constructor takes in a reference to an NString class (the plug-in system Narrow String representation). It constructs an instance of the StringImp, which implements IString and derives from NString. The pointer to this instance is then controlled by this SRef class via the IString interface.
|
|
This operator is provided as a convenience for use with functions that return IString interface pointers controlled by the SRef class. It allows the return value of the function to be passed directly into a function that takes a |
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.