Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TRequestFileSystemEntityDialogState
Inherited By:
None.
Purpose:
TRequestExistingDirectoryDialogState is a class that represents the state of a file system directory verification dialog.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
Derive from TRequestExistingDirectoryDialogState and override Accept/Cancel/Verify to create customized dialog behavior.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
Other Considerations:
None.
virtual bool Verify (TPathName & pathName, TFileSystemEntity & entity, TText & errorMessage)
Interface Category:
API.
Purpose:
Determines if the specified entity with the specified pathname is a valid directory. Returns false if the pathname does not exist or if the entity is not a directory. If false is returned, errorMessage is filled in with a descriptive message.
Calling Context:
Called by HandleAcceptButton.
Parameters:
Return Value:
Returns true if the specified entity with the specified pathname is a valid directory. Returns false if the pathname does not exist or if the entity is not a directory.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
- TRequestExistingDirectoryDialogState ()
- TRequestExistingDirectoryDialogState (const TRequestExistingDirectoryDialogState & source)
Interface Category:
API.
Purpose:
- Default constructor.
- Copy constructor.
Calling Context:
- Called to create a TRequestExistingDirectoryDialogState suitable for streaming into.
- Called to copy an object.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
TRequestExistingDirectoryDialogState ;
virtual ~ TRequestExistingDirectoryDialogState ()
Interface Category:
API.
Purpose:
Destructor.
Calling Context:
Called to destroy an object.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
TStream & operator >>=(TStream & destination) const
Interface Category:
API.
Purpose:
Stream-out operator.
Calling Context:
Called to stream out data.
Parameters:
- TStream & destination -The destination stream.
Return Value:
Returns a reference to the stream the object streams itself out to.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
TStream & operator <<= (TStream & source)
Interface Category:
API.
Purpose:
Stream-in operator.
Calling Context:
Called to stream in data.
Parameters:
- TStream & source -The source stream.
Return Value:
Returns a reference to the stream the object streams itself in from.
Exceptions:
Throws TInvalidVersionError if the version of the flattened object is not supported.
Concurrency:
Not multithread safe.
Other Considerations:
None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.