NX Open C++ Reference Guide
Classes | Public Member Functions | List of all members
NXOpen::Assemblies::SearchResultCollection Class Reference

A collection of SearchResultElement s. More...

Inheritance diagram for NXOpen::Assemblies::SearchResultCollection:
NXOpen::TaggedObjectCollection

Classes

class  iterator
 Iterator for accessing the contents of the collection. More...
 

Public Member Functions

iterator begin ()
 Returns an iterator addressing the first element.
 
iterator end ()
 Returns an iterator addressing one past the last element.
 
NXOpen::Assemblies::SearchResultElementFindObject (const NXString &journalIdentifier)
 Finds the SearchResultElement with the given identifier as recorded in a journal.
 
NXOpen::Assemblies::SearchResultElementFindObject (const char *journalIdentifier)
 Finds the SearchResultElement with the given identifier as recorded in a journal.
 
tag_t Tag () const
 Returns the tag of this object.
 

Detailed Description

A collection of SearchResultElement s.

<br> To obtain an instance of this class, refer to @link Assemblies::SubsetBuilder  Assemblies::SubsetBuilder @endlink  <br> 


Created in NX8.5.0.

Member Function Documentation

iterator NXOpen::Assemblies::SearchResultCollection::begin ( )

Returns an iterator addressing the first element.

iterator NXOpen::Assemblies::SearchResultCollection::end ( )

Returns an iterator addressing one past the last element.

NXOpen::Assemblies::SearchResultElement* NXOpen::Assemblies::SearchResultCollection::FindObject ( const NXString journalIdentifier)

Finds the SearchResultElement with the given identifier as recorded in a journal.

   An object may not return the same value as its JournalIdentifier in different versions of 
   the software. However newer versions of the software should find the same object when 
   FindObject is passed older versions of its journal identifier. In general, this method 
   should not be used in handwritten code and exists to support record and playback of journals.

   An exception will be thrown if no object can be found with the given journal identifier.  @return  Element found, or null if no such search result element exists.


Created in NX8.5.0.

License requirements : nx_4gd_integration ("4th Generation Design")

Parameters
journalIdentifierName of the search result to be found
NXOpen::Assemblies::SearchResultElement* NXOpen::Assemblies::SearchResultCollection::FindObject ( const char *  journalIdentifier)

Finds the SearchResultElement with the given identifier as recorded in a journal.

   An object may not return the same value as its JournalIdentifier in different versions of 
   the software. However newer versions of the software should find the same object when 
   FindObject is passed older versions of its journal identifier. In general, this method 
   should not be used in handwritten code and exists to support record and playback of journals.

   An exception will be thrown if no object can be found with the given journal identifier.  @return  Element found, or null if no such search result element exists.


Created in NX8.5.0.

License requirements : nx_4gd_integration ("4th Generation Design")

Parameters
journalIdentifierName of the search result to be found
tag_t NXOpen::Assemblies::SearchResultCollection::Tag ( ) const

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2013 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.