|
My Project
|
it represents a search result. More...
#include <ParaScriptingIO.h>
Public Member Functions | |
| ParaSearchResult (CSearchResult *pResult) | |
| bool | IsValid () |
| check if the object is valid | |
| void | Release () |
| release results. More... | |
| string | GetRootPath () |
| get the root path | |
| int | GetNumOfResult () |
| get the total number of result found | |
| bool | AddResult (const char *sItem) |
| add a new item. More... | |
| string | GetItem (int nIndex) |
| get the item at the specified index. More... | |
| object | GetItemData (int nIndex, const object &output) |
| get the item at the specified index. More... | |
Public Attributes | |
| CSearchResult * | m_pResult |
it represents a search result.
| bool ParaScripting::ParaSearchResult::AddResult | ( | const char * | sItem | ) |
add a new item.
return false if the search is completed.
| string ParaScripting::ParaSearchResult::GetItem | ( | int | nIndex | ) |
get the item at the specified index.
return "" if nIndex is out of range.
get the item at the specified index.
return nil if nIndex is out of range.
| output | [in|out] default value. |
| void ParaScripting::ParaSearchResult::Release | ( | ) |
release results.
1.8.12