FmsFileAttribute Struct Reference
[File plug-in]

Structure for holding file attribute values. More...

#include <FmsFileAdaptor.h>

List of all members.

Public Types

enum  Type {
  kAll, kTimeCreated, kTimeModified, kTimeAccessed,
  kSize
}
 The enumeration of various file attributes that may be queried. More...

Public Attributes

int attr
FmsVariant value


Detailed Description

A structure that describes a file attribute and its value. The value is represented as an FmsVariant and can be used to describe typical scalars, such as signed or unsigned integers of various sizes, null-terminated char strings, or unsigned char buffers with explicit sizes.

Member Enumeration Documentation

enum FmsFileAttribute::Type

The enumeration of various file attributes that may be queried. The special kAll attribute may only be used in open() or getAttributes() methods to indicate that all available attributes are needed. However, it never appears in the response; instead the plug-in explicitly lists all the available attributes and their values.

Enumerator:
kAll  A special value to indicate all attributes.
kTimeCreated  The creation time (32-bit int) in milliseconds.
kTimeModified  The modification time (32-bit int) in milliseconds.
kTimeAccessed  The last accessed time (32-bit int) in milliseconds.
kSize  The file size (64-bit int) in bytes.


Member Data Documentation

int FmsFileAttribute::attr

Describes the attribute being held.

FmsVariant FmsFileAttribute::value

The value of the attribute being held.


The documentation for this struct was generated from the following file: FMS Adaptors Footer

 

©2007 Adobe Systems Incorporated.  All Rights Reserved.