OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Attributes | Properties | List of all members
OpenSim.Framework.AssetBase Class Reference

Asset class. All Assets are reference by this class or a class derived from this class More...

Inheritance diagram for OpenSim.Framework.AssetBase:
Inheritance graph
[legend]

Public Member Functions

 AssetBase ()
 
 AssetBase (UUID assetID, string name, sbyte assetType, string creatorID)
 
 AssetBase (string assetID, string name, sbyte assetType, string creatorID)
 
override string ToString ()
 

Static Public Attributes

static readonly int MAX_ASSET_NAME = 64
 
static readonly int MAX_ASSET_DESC = 64
 

Properties

bool ContainsReferences [get]
 
bool IsTextualAsset [get]
 
bool IsBinaryAsset [get]
 Checks if this asset is a binary or text asset More...
 
virtual byte[] Data [get, set]
 
UUID FullID [get, set]
 Asset UUID More...
 
string ID [get, set]
 Asset MetaData ID (transferring from UUID to string ID) More...
 
string Name [get, set]
 
string Description [get, set]
 
sbyte Type [get, set]
 (sbyte) AssetType enum More...
 
int UploadAttempts [get, set]
 
bool Local [get, set]
 Is this a region only asset, or does this exist on the asset server also More...
 
bool Temporary [get, set]
 Is this asset going to be saved to the asset database? More...
 
string CreatorID [get, set]
 
AssetFlags Flags [get, set]
 
AssetMetadata Metadata [get, set]
 

Detailed Description

Asset class. All Assets are reference by this class or a class derived from this class

Definition at line 49 of file AssetBase.cs.

Constructor & Destructor Documentation

OpenSim.Framework.AssetBase.AssetBase ( )
inline

Definition at line 70 of file AssetBase.cs.

OpenSim.Framework.AssetBase.AssetBase ( UUID  assetID,
string  name,
sbyte  assetType,
string  creatorID 
)
inline

Definition at line 79 of file AssetBase.cs.

OpenSim.Framework.AssetBase.AssetBase ( string  assetID,
string  name,
sbyte  assetType,
string  creatorID 
)
inline

Definition at line 95 of file AssetBase.cs.

Member Function Documentation

override string OpenSim.Framework.AssetBase.ToString ( )
inline

Definition at line 246 of file AssetBase.cs.

Member Data Documentation

readonly int OpenSim.Framework.AssetBase.MAX_ASSET_DESC = 64
static

Definition at line 54 of file AssetBase.cs.

readonly int OpenSim.Framework.AssetBase.MAX_ASSET_NAME = 64
static

Definition at line 53 of file AssetBase.cs.

Property Documentation

bool OpenSim.Framework.AssetBase.ContainsReferences
get

Definition at line 112 of file AssetBase.cs.

string OpenSim.Framework.AssetBase.CreatorID
getset

Definition at line 228 of file AssetBase.cs.

virtual byte [] OpenSim.Framework.AssetBase.Data
getset

Definition at line 159 of file AssetBase.cs.

string OpenSim.Framework.AssetBase.Description
getset

Definition at line 189 of file AssetBase.cs.

AssetFlags OpenSim.Framework.AssetBase.Flags
getset

Definition at line 234 of file AssetBase.cs.

UUID OpenSim.Framework.AssetBase.FullID
getset

Asset UUID

Definition at line 168 of file AssetBase.cs.

string OpenSim.Framework.AssetBase.ID
getset

Asset MetaData ID (transferring from UUID to string ID)

Definition at line 177 of file AssetBase.cs.

bool OpenSim.Framework.AssetBase.IsBinaryAsset
get

Checks if this asset is a binary or text asset

Definition at line 137 of file AssetBase.cs.

bool OpenSim.Framework.AssetBase.IsTextualAsset
get

Definition at line 125 of file AssetBase.cs.

bool OpenSim.Framework.AssetBase.Local
getset

Is this a region only asset, or does this exist on the asset server also

Definition at line 213 of file AssetBase.cs.

AssetMetadata OpenSim.Framework.AssetBase.Metadata
getset

Definition at line 241 of file AssetBase.cs.

string OpenSim.Framework.AssetBase.Name
getset

Definition at line 183 of file AssetBase.cs.

bool OpenSim.Framework.AssetBase.Temporary
getset

Is this asset going to be saved to the asset database?

Definition at line 222 of file AssetBase.cs.

sbyte OpenSim.Framework.AssetBase.Type
getset

(sbyte) AssetType enum

Definition at line 198 of file AssetBase.cs.

int OpenSim.Framework.AssetBase.UploadAttempts
getset

Definition at line 204 of file AssetBase.cs.


The documentation for this class was generated from the following file: