|
OpenSim
|


Public Member Functions | |
| InventoryFolderImpl (InventoryFolderBase folderbase) | |
| InventoryFolderImpl () | |
| InventoryFolderImpl | CreateChildFolder (UUID folderID, string folderName, ushort type) |
| Create a new subfolder. More... | |
| void | AddChildFolder (InventoryFolderImpl folder) |
| Add a folder that already exists. More... | |
| bool | ContainsChildFolder (UUID folderID) |
| Does this folder contain the given child folder? More... | |
| InventoryFolderImpl | GetChildFolder (UUID folderID) |
| Get a child folder More... | |
| InventoryFolderImpl | RemoveChildFolder (UUID folderID) |
| Removes the given child subfolder. More... | |
| void | Purge () |
| Delete all the folders and items in this folder. More... | |
| InventoryItemBase | FindItem (UUID itemID) |
| Returns the item if it exists in this folder or in any of this folder's descendant folders More... | |
| InventoryItemBase | FindAsset (UUID assetID) |
| bool | DeleteItem (UUID itemID) |
| Deletes an item if it exists in this folder or any children More... | |
| InventoryFolderImpl | FindFolder (UUID folderID) |
| Returns the folder requested if it is this folder or is a descendent of this folder. The search is depth first. More... | |
| InventoryFolderImpl | FindFolderForType (int type) |
| Look through all child subfolders for a folder marked as one for a particular asset type, and return it. More... | |
| InventoryFolderImpl | FindFolderByPath (string path) |
| Find a folder given a PATH_DELIMITER delimited path starting from this folder More... | |
| InventoryItemBase | FindItemByPath (string path) |
| Find an item given a PATH_DELIMITOR delimited path starting from this folder. More... | |
| List< InventoryItemBase > | RequestListOfItems () |
| Return a copy of the list of child items in this folder. The items themselves are the originals. More... | |
| List< InventoryFolderBase > | RequestListOfFolders () |
| Return a copy of the list of child folders in this folder. The folders themselves are the originals. More... | |
| List< InventoryFolderImpl > | RequestListOfFolderImpls () |
Public Member Functions inherited from OpenSim.Framework.InventoryFolderBase | |
| InventoryFolderBase () | |
| InventoryFolderBase (UUID id) | |
| InventoryFolderBase (UUID id, UUID owner) | |
| InventoryFolderBase (UUID id, string name, UUID owner, UUID parent) | |
| InventoryFolderBase (UUID id, string name, UUID owner, short type, UUID parent, ushort version) | |
Public Attributes | |
| Dictionary< UUID, InventoryItemBase > | Items = new Dictionary<UUID, InventoryItemBase>() |
| Items that are contained in this folder More... | |
Static Public Attributes | |
| static readonly string | PATH_DELIMITER = "/" |
Static Public Attributes inherited from OpenSim.Framework.InventoryFolderBase | |
| static readonly string | ROOT_FOLDER_NAME = "My Inventory" |
| static readonly string | SUITCASE_FOLDER_NAME = "My Suitcase" |
Protected Attributes | |
| Dictionary< UUID, InventoryFolderImpl > | m_childFolders = new Dictionary<UUID, InventoryFolderImpl>() |
| Child folders that are contained in this folder More... | |
Properties | |
| int | TotalCount [get] |
Properties inherited from OpenSim.Framework.InventoryFolderBase | |
| virtual UUID | ParentID [get, set] |
| virtual short | Type [get, set] |
| virtual ushort | Version [get, set] |
Properties inherited from OpenSim.Framework.InventoryNodeBase | |
| virtual string | Name [get, set] |
| The name of the node (64 characters or less) More... | |
| UUID | ID [get, set] |
| A UUID containing the ID for the inventory node itself More... | |
| virtual UUID | Owner [get, set] |
| The agent who's inventory this is contained by More... | |
Definition at line 36 of file InventoryFolderImpl.cs.
|
inline |
Definition at line 53 of file InventoryFolderImpl.cs.
|
inline |
Definition at line 63 of file InventoryFolderImpl.cs.
|
inline |
Add a folder that already exists.
| folder |
Definition at line 99 of file InventoryFolderImpl.cs.
|
inline |
Does this folder contain the given child folder?
| folderID |
Definition at line 113 of file InventoryFolderImpl.cs.
|
inline |
Create a new subfolder.
| folderID | |
| folderName | |
| type |
Definition at line 74 of file InventoryFolderImpl.cs.
|
inline |
Deletes an item if it exists in this folder or any children
| folderID |
Definition at line 235 of file InventoryFolderImpl.cs.
|
inline |
Definition at line 203 of file InventoryFolderImpl.cs.
|
inline |
Returns the folder requested if it is this folder or is a descendent of this folder. The search is depth first.
Definition at line 269 of file InventoryFolderImpl.cs.

|
inline |
Find a folder given a PATH_DELIMITER delimited path starting from this folder
This method does not handle paths that contain multiple delimitors
FIXME: We do not yet handle situations where folders have the same name. We could handle this by some XPath like expression
FIXME: Delimitors which occur in names themselves are not currently escapable.
| path | The path to the required folder. It this is empty or consists only of the PATH_DELIMTER then this folder itself is returned. |
Definition at line 323 of file InventoryFolderImpl.cs.
|
inline |
Look through all child subfolders for a folder marked as one for a particular asset type, and return it.
| type |
Definition at line 293 of file InventoryFolderImpl.cs.
|
inline |
Returns the item if it exists in this folder or in any of this folder's descendant folders
| itemID |
Definition at line 177 of file InventoryFolderImpl.cs.
|
inline |
Find an item given a PATH_DELIMITOR delimited path starting from this folder.
This method does not handle paths that contain multiple delimitors
FIXME: We do not yet handle situations where folders or items have the same name. We could handle this by some XPath like expression
FIXME: Delimitors which occur in names themselves are not currently escapable.
| path | The path to the required item. |
Definition at line 365 of file InventoryFolderImpl.cs.
|
inline |
Get a child folder
| folderID |
Definition at line 123 of file InventoryFolderImpl.cs.
|
inline |
Delete all the folders and items in this folder.
Definition at line 161 of file InventoryFolderImpl.cs.
|
inline |
Removes the given child subfolder.
| folderID |
Definition at line 142 of file InventoryFolderImpl.cs.
|
inline |
Definition at line 438 of file InventoryFolderImpl.cs.
|
inline |
Return a copy of the list of child folders in this folder. The folders themselves are the originals.
Definition at line 423 of file InventoryFolderImpl.cs.

|
inline |
Return a copy of the list of child items in this folder. The items themselves are the originals.
Definition at line 399 of file InventoryFolderImpl.cs.
| Dictionary<UUID, InventoryItemBase> OpenSim.Framework.InventoryFolderImpl.Items = new Dictionary<UUID, InventoryItemBase>() |
Items that are contained in this folder
Definition at line 45 of file InventoryFolderImpl.cs.
|
protected |
Child folders that are contained in this folder
Definition at line 50 of file InventoryFolderImpl.cs.
|
static |
Definition at line 40 of file InventoryFolderImpl.cs.
|
get |
The total number of items in this folder and in the immediate child folders (though not from other descendants).
Definition at line 458 of file InventoryFolderImpl.cs.
1.8.6