// Copyright (C) 1995 Taligent, Inc. All rights reserved. #if 0 --------------------------------------------------------------------------- > Global Function: CopyCollectionContents ; | void CopyCollectionContents (const TCollectionOf < AType > & from, TCollectionOf < AType > & to) > Taxonomy Category: | Documented Samples | WebRunner Sample > Interface Category: | Sample. > Purpose: | This is a templatized function that permits all of the members of one collection to be copied into a second collection. > Calling Context: | Called by any user of collections. > Parameters: = const TCollectionOf < AType > & from -The source collection. = TCollectionOf < AType > & to -The collection to copy members into. > Return Value: | None. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Global Function: CopyDictionaryContents ; | void CopyDictionaryContents (const TDictionaryOf < AKey, AValue >& from, TDictionaryOf < AKey, AValue >& to) > Taxonomy Category: | Documented Samples | WebRunner Sample > Interface Category: | Sample. > Purpose: | This is a templatized function that permits all of the members of one dictionary to be copied into a second dictionary. This allows the copying of a dictionary that has ownership semantics over its contents. > Calling Context: | Called by any user of dictionaries. > Parameters: = const TDictionaryOf < AKey, AValue >& from -The source dictionary. = TDictionaryOf < AKey, AValue >& to -The destination dictionary. > Return Value: | None. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif