Public Member Functions | List of all members
BNodeInfo Class Reference

Provides access to file type meta data on a node. More...

Inherited by BAppFileInfo.

Public Member Functions

 BNodeInfo ()
 Creates an uninitialized BNodeInfo object. More...
 
 BNodeInfo (BNode *node)
 Creates a BNodeInfo object and initializes it to the supplied node. More...
 
virtual ~BNodeInfo ()
 Frees the object and associated resources. More...
 
Constructor helper methods
status_t SetTo (BNode *node)
 Initializes the BNodeInfo to the supplied node. More...
 
status_t InitCheck () const
 Checks whether or not the object has been properly initialized. More...
 
MIME-type methods
virtual status_t GetType (char *type) const
 Writes the MIME-type of the node into type. More...
 
virtual status_t SetType (const char *type)
 Sets the MIME-type of the node. If type is NULL the BEOS:TYPE attribute is removed instead. More...
 
Preferred Application