#include <rvc/objitem.h>
Public Member Functions | |
| void | Clear () |
| void | CreateNew (const RVC::OBJITEM &ParentItem, RVC::OBJTYPE ObjType, const DESCRIPTOR &Descriptor) |
| void | CreateNew (const DESCRIPTOR &Descriptor, RVC::OBJTYPE ObjType=RVC::OBJTYPE_All) |
| ERRVALUE | GetCombinedPath (MISTRING &CombinedPath) const |
| DEPRECATED const DESCRIPTOR & | GetDescriptor () const |
| MISTRING | GetDisplayString (const CREDENTIALS *Credentials=0) const |
| void | GetDisplayString (MISTRING &string, const CREDENTIALS *Credentials=0) const |
| const FILEPATH & | GetFilePath () const |
| DEPRECATED const RVCGENINFO & | GetInfo (const CREDENTIALS *Credentials=0) const |
| DEPRECATED RVCINODENUM | GetInode (const CREDENTIALS *Credentials=0) const |
| DEPRECATED const MIUNICODE * | GetObjectDescription (const CREDENTIALS *Credentials=0) const |
| const DESCRIPTOR & | GetObjectDescriptor (const CREDENTIALS *Credentials=0) const |
| DEPRECATED const MIUNICODE * | GetObjectName (const CREDENTIALS *Credentials=0) const |
| ERRVALUE | GetObjectPath (MISTRING &ObjectPath, const CREDENTIALS *Credentials=0) const |
| RVC::OBJTYPE | GetObjectType () const |
| bool | GetParent (OBJITEM &ParentObjItem, const CREDENTIALS *Credentials=0) const |
| MISTRING | GetToolTipString (const CREDENTIALS *Credentials=0) const |
| void | GetToolTipString (MISTRING &string, const CREDENTIALS *Credentials=0) const |
| bool | HasObjectDescription (const CREDENTIALS *Credentials=0) const |
| bool | HasSameParent (const OBJITEM &rhs) const |
| bool | IniRead (INIHANDLE handle, const char *group, const char *field) |
| void | IniWrite (INIHANDLE handle, const char *group, const char *field, const CREDENTIALS *Credentials=0) const |
| bool | IsAssigned () const |
| bool | IsEqual (const OBJITEM &rhs, const CREDENTIALS *Credentials=0) const |
| bool | IsExisting (const CREDENTIALS *Credentials=0) const |
| bool | IsFileOnly () const |
| bool | IsLessThan (const OBJITEM &rhs) const |
| bool | IsLessThanChild (const OBJITEM &rhs) const |
| bool | IsNewRequest (const CREDENTIALS *Credentials=0) const |
| bool | IsResolved () const |
| bool | IsSkipRequest (const CREDENTIALS *Credentials=0) const |
| OBJITEM (const DESCRIPTOR &Descriptor) | |
| DEPRECATED | OBJITEM (const OBJECTNAME &name, const OBJECTDESC &desc, const char *source=0) |
| DEPRECATED | OBJITEM (const FILEPATH &filename, RVCINODENUM inode, const CREDENTIALS *Credentials=0) |
| OBJITEM (const FILEPATH &filename, const MISTRING &ObjectPath) | |
| DEPRECATED | OBJITEM (const FILEPATH &filename, const RVCGENINFO &ginfo) |
| OBJITEM (const OBJITEM &rhs) | |
| OBJITEM () | |
| OBJITEM & | operator= (const DESCRIPTOR &Descriptor) |
| OBJITEM | operator= (const OBJITEM &rhs) |
| void | SetCombinedPath (const MISTRING &CombinedPath, const CREDENTIALS *Credentials=0) |
| void | SetFilePath (const FILEPATH &filepath) |
| DEPRECATED void | SetItem (const FILEPATH &filename, RVCINODENUM inode, const CREDENTIALS *Credentials=0) |
| void | SetItem (const FILEPATH &filename, const MISTRING &ObjectPath) |
| DEPRECATED void | SetItem (const FILEPATH &filename, const RVCGENINFO &ginfo) |
| void | SetItemToFile (const FILEPATH &filename, const CREDENTIALS *Credentials=0) |
| DEPRECATED void | SetObjectDescription (const RVC::OBJECTDESC &NewDesc) |
| void | SetObjectDescriptor (const DESCRIPTOR &NewDescriptor) |
| DEPRECATED void | SetObjectInfo (const RVCGENINFO &ginfo) |
| DEPRECATED void | SetObjectName (const RVC::OBJECTNAME &NewName) |
| void | SetObjectPath (const MISTRING &ObjectPath, const CREDENTIALS *Credentials=0) |
| void | SetObjectType (UINT32 objtype) |
| void | SetSkipRequest () |
| ~OBJITEM () | |
Static Public Member Functions | |
| static void | SetupOutputList (MILIST< OBJITEM > &oobjlist, const MILIST< OBJITEM > &iobjlist, const char *source=0) |
Definition at line 161 of file objitem.h.
| RVC::OBJITEM::OBJITEM | ( | const OBJITEM & | rhs | ) |
Copy constructor.
| rhs | Object to copy from |
| DEPRECATED RVC::OBJITEM::OBJITEM | ( | const FILEPATH & | filename, | |
| const RVCGENINFO & | ginfo | |||
| ) |
Construct from FILEPATH and RVCGENINFO.
| filename | Filename |
| ginfo | General info |
| DEPRECATED RVC::OBJITEM::OBJITEM | ( | const FILEPATH & | filename, | |
| RVCINODENUM | inode, | |||
| const CREDENTIALS * | Credentials = 0 | |||
| ) |
Construct from FILEPATH and object inode.
| filename | Filename |
| inode | Object inode |
| DEPRECATED RVC::OBJITEM::OBJITEM | ( | const OBJECTNAME & | name, | |
| const OBJECTDESC & | desc, | |||
| const char * | source = 0 | |||
| ) |
Construct having specified name, description, optional source.
This useful when setting up an "output" OBJITEMLIST.
| RVC::OBJITEM::OBJITEM | ( | const DESCRIPTOR & | Descriptor | ) |
Construct having specified name, description, optional source.
This useful when setting up an "output" OBJITEMLIST.
| RVC::OBJITEM::~OBJITEM | ( | ) |
Default destructor.
| void RVC::OBJITEM::Clear | ( | ) |
Clear the OBJITEM, refers to nothing.
| void RVC::OBJITEM::CreateNew | ( | const RVC::OBJITEM & | ParentItem, | |
| RVC::OBJTYPE | ObjType, | |||
| const DESCRIPTOR & | Descriptor | |||
| ) |
Setup for use in prompt for or creation of new object with RVC::OBJITEM parent.
| ParentItem | Parent object item reference |
| ObjType | New object type |
| Descriptor | New object name |
| void RVC::OBJITEM::CreateNew | ( | const DESCRIPTOR & | Descriptor, | |
| RVC::OBJTYPE | ObjType = RVC::OBJTYPE_All | |||
| ) |
Setup for use in prompt for or creation of new object with unspecified parent.
Does not alter currently set filepath.
| Descriptor | New object descriptor |
| ObjType | New object type |
Get the Combined Path.
This returns a string with the filepath and object path as as single string. Use SetCombinedPath to set an OBJITEM using a string of this format.
| DEPRECATED const DESCRIPTOR& RVC::OBJITEM::GetDescriptor | ( | ) | const [inline] |
Get the RVC::DESCRIPTOR of the object represented by this instance.
| MISTRING RVC::OBJITEM::GetDisplayString | ( | const CREDENTIALS * | Credentials = 0 |
) | const [inline] |
| void RVC::OBJITEM::GetDisplayString | ( | MISTRING & | string, | |
| const CREDENTIALS * | Credentials = 0 | |||
| ) | const |
Get string suitable for display.
String will consist of file name, separator and object name. GetToolTipString
| string | String returned |
| const FILEPATH& RVC::OBJITEM::GetFilePath | ( | ) | const [inline] |
| DEPRECATED const RVCGENINFO& RVC::OBJITEM::GetInfo | ( | const CREDENTIALS * | Credentials = 0 |
) | const [inline] |
| DEPRECATED RVCINODENUM RVC::OBJITEM::GetInode | ( | const CREDENTIALS * | Credentials = 0 |
) | const [inline] |
| DEPRECATED const MIUNICODE* RVC::OBJITEM::GetObjectDescription | ( | const CREDENTIALS * | Credentials = 0 |
) | const [inline] |
| const DESCRIPTOR& RVC::OBJITEM::GetObjectDescriptor | ( | const CREDENTIALS * | Credentials = 0 |
) | const [inline] |
Get the RVC::DESCRIPTOR of the object represented by this instance.
| DEPRECATED const MIUNICODE* RVC::OBJITEM::GetObjectName | ( | const CREDENTIALS * | Credentials = 0 |
) | const [inline] |
| ERRVALUE RVC::OBJITEM::GetObjectPath | ( | MISTRING & | ObjectPath, | |
| const CREDENTIALS * | Credentials = 0 | |||
| ) | const [inline] |
| RVC::OBJTYPE RVC::OBJITEM::GetObjectType | ( | ) | const |
Get the object type.
| bool RVC::OBJITEM::GetParent | ( | OBJITEM & | ParentObjItem, | |
| const CREDENTIALS * | Credentials = 0 | |||
| ) | const |
Get the parent object item for 'this'.
| MISTRING RVC::OBJITEM::GetToolTipString | ( | const CREDENTIALS * | Credentials = 0 |
) | const [inline] |
| void RVC::OBJITEM::GetToolTipString | ( | MISTRING & | string, | |
| const CREDENTIALS * | Credentials = 0 | |||
| ) | const |
Get standard "ToolTip" string for this item.
Returned string will contain multiple lines. GetDisplayString.
| string | Tooltip string returned |
| bool RVC::OBJITEM::HasObjectDescription | ( | const CREDENTIALS * | Credentials = 0 |
) | const [inline] |
| bool RVC::OBJITEM::HasSameParent | ( | const OBJITEM & | rhs | ) | const [inline] |
| bool RVC::OBJITEM::IniRead | ( | INIHANDLE | handle, | |
| const char * | group, | |||
| const char * | field | |||
| ) |
Read from .ini file.
| handle | Ini Handle created by IniOpen() |
| group | Group to look for ini entry, App Name if =0 |
| field | Field to read string from |
| void RVC::OBJITEM::IniWrite | ( | INIHANDLE | handle, | |
| const char * | group, | |||
| const char * | field, | |||
| const CREDENTIALS * | Credentials = 0 | |||
| ) | const |
Write to .ini file.
| handle | Ini Handle created by IniOpen() |
| group | Group to write ini entry, App Name if =0 |
| field | Field to write string to |
| bool RVC::OBJITEM::IsAssigned | ( | ) | const |
Determine if have both filepath and "object" assigned.
Does not determine if actually resolved to existing object.
| bool RVC::OBJITEM::IsEqual | ( | const OBJITEM & | rhs, | |
| const CREDENTIALS * | Credentials = 0 | |||
| ) | const [inline] |
| bool RVC::OBJITEM::IsExisting | ( | const CREDENTIALS * | Credentials = 0 |
) | const |
Determine if item references actual existing object.
This should not be used in time-critical operations as it will actually open the file and verify that the object exists.
| bool RVC::OBJITEM::IsFileOnly | ( | ) | const [inline] |
| bool RVC::OBJITEM::IsLessThan | ( | const OBJITEM & | rhs | ) | const |
Determine if item is less than 'rhs' Needed for export of MILIST<OBJITEM> from dll.
| bool RVC::OBJITEM::IsLessThanChild | ( | const OBJITEM & | rhs | ) | const [inline] |
| bool RVC::OBJITEM::IsNewRequest | ( | const CREDENTIALS * | Credentials = 0 |
) | const |
Determine if item is built from a new object request from RVC::DlgGetObject().
| bool RVC::OBJITEM::IsResolved | ( | ) | const [inline] |
| bool RVC::OBJITEM::IsSkipRequest | ( | const CREDENTIALS * | Credentials = 0 |
) | const |
Determine if item is built from a skip object request from RVC::DlgGetObject().
| OBJITEM& RVC::OBJITEM::operator= | ( | const DESCRIPTOR & | Descriptor | ) |
Assignment.
Assignment.
| rhs | Object to copy from |
| void RVC::OBJITEM::SetCombinedPath | ( | const MISTRING & | CombinedPath, | |
| const CREDENTIALS * | Credentials = 0 | |||
| ) |
Set the Combined Path.
This sets up an ObjItem given a string encoded by GetCombinedPath
| void RVC::OBJITEM::SetFilePath | ( | const FILEPATH & | filepath | ) | [inline] |
| DEPRECATED void RVC::OBJITEM::SetItem | ( | const FILEPATH & | filename, | |
| RVCINODENUM | inode, | |||
| const CREDENTIALS * | Credentials = 0 | |||
| ) |
Set item from FILEPATH and object inode.
| filename | File name |
| inode | Object inode |
| DEPRECATED void RVC::OBJITEM::SetItem | ( | const FILEPATH & | filename, | |
| const RVCGENINFO & | ginfo | |||
| ) |
Set item from FILEPATH and RVCGENINFO.
| filename | File name |
| ginfo | General info |
| void RVC::OBJITEM::SetItemToFile | ( | const FILEPATH & | filename, | |
| const CREDENTIALS * | Credentials = 0 | |||
| ) |
| DEPRECATED void RVC::OBJITEM::SetObjectDescription | ( | const RVC::OBJECTDESC & | NewDesc | ) |
| void RVC::OBJITEM::SetObjectDescriptor | ( | const DESCRIPTOR & | NewDescriptor | ) |
Set object descriptor.
| DEPRECATED void RVC::OBJITEM::SetObjectInfo | ( | const RVCGENINFO & | ginfo | ) |
Set object info from RVCGENINFO.
| ginfo | General info |
| DEPRECATED void RVC::OBJITEM::SetObjectName | ( | const RVC::OBJECTNAME & | NewName | ) |
| void RVC::OBJITEM::SetObjectPath | ( | const MISTRING & | ObjectPath, | |
| const CREDENTIALS * | Credentials = 0 | |||
| ) |
Set object path without clearing file path.
| ObjectPath | Object path |
| void RVC::OBJITEM::SetObjectType | ( | UINT32 | objtype | ) | [inline] |
| void RVC::OBJITEM::SetSkipRequest | ( | ) |
Set item to be 'skip' request.
| static void RVC::OBJITEM::SetupOutputList | ( | MILIST< OBJITEM > & | oobjlist, | |
| const MILIST< OBJITEM > & | iobjlist, | |||
| const char * | source = 0 | |||
| ) | [static] |
Setup output object item list corresponding to specified input object item list.
| oobjlist | Output list |
| iobjlist | Input list |
| source | Value to use for "source" in object header, will use application name if null. |
1.5.2