QtFit  0.1
Native Qt library for Garmin FIT format
All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
FileCapabilitiesMessage Class Reference

The FileCapabilitiesMessage class represents a FIT FileCapabilitiesMessage data message. More...

Inheritance diagram for FileCapabilitiesMessage:
[legend]
Collaboration diagram for FileCapabilitiesMessage:
[legend]

Public Member Functions

 FileCapabilitiesMessage ()
 Constructs a FileCapabilitiesMessage object. More...
 
MessageIndex messageIndex () const
 Returns the FileCapabilitiesMessage data message's messageIndex field's current value. More...
 
File type () const
 Returns the FileCapabilitiesMessage data message's type field's current value. More...
 
FileFlags flags () const
 Returns the FileCapabilitiesMessage data message's flags field's current value. More...
 
QString directory () const
 Returns the FileCapabilitiesMessage data message's directory field's current value. More...
 
quint16 maxCount () const
 Returns the FileCapabilitiesMessage data message's maxCount field's current value. More...
 
quint32 maxSize () const
 Returns the FileCapabilitiesMessage data message's maxSize field's current value. More...
 
void setMessageIndex (const MessageIndex messageIndex)
 Sets the messageIndex field to messageIndex. More...
 
void setType (const File type)
 Sets the type field to type. More...
 
void setFlags (const FileFlags flags)
 Sets the flags field to flags. More...
 
void setDirectory (const QString directory)
 Sets the directory field to directory. More...
 
void setMaxCount (const quint16 maxCount)
 Sets the maxCount field to maxCount. More...
 
void setMaxSize (const quint32 maxSize)
 Sets the maxSize field to maxSize. More...
 
- Public Member Functions inherited from AbstractDataMessage
 ~AbstractDataMessage ()
 Destroys the AbstractDataMessage object.
 
MesgNum globalMessageNumber () const
 Returns the data message's global message number. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from AbstractDataMessage
static AbstractDataMessagefromData (const DataDefinition *const defn, const QByteArray &record)
 Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More...
 

Detailed Description

The FileCapabilitiesMessage class represents a FIT FileCapabilitiesMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ FileCapabilitiesMessage()

FileCapabilitiesMessage::FileCapabilitiesMessage ( )

Constructs a FileCapabilitiesMessage object.

Typically, instances of this class will be returned by FitStreamReader::readNext, but this constructor may be used, along with the relevant setter methods, to create a valid message.

Member Function Documentation

◆ directory()

QString FileCapabilitiesMessage::directory ( ) const

Returns the FileCapabilitiesMessage data message's directory field's current value.

Returns
the directory field value.
Here is the caller graph for this function:

◆ flags()

FileFlags FileCapabilitiesMessage::flags ( ) const

Returns the FileCapabilitiesMessage data message's flags field's current value.

Returns
the flags field value.
Here is the caller graph for this function:

◆ maxCount()

quint16 FileCapabilitiesMessage::maxCount ( ) const

Returns the FileCapabilitiesMessage data message's maxCount field's current value.

Returns
the maxCount field value.
Here is the caller graph for this function:

◆ maxSize()

quint32 FileCapabilitiesMessage::maxSize ( ) const

Returns the FileCapabilitiesMessage data message's maxSize field's current value.

Returns
the maxSize field value.
Here is the caller graph for this function:

◆ messageIndex()

MessageIndex FileCapabilitiesMessage::messageIndex ( ) const

Returns the FileCapabilitiesMessage data message's messageIndex field's current value.

Returns
the messageIndex field value.
Here is the caller graph for this function:

◆ setDirectory()

void FileCapabilitiesMessage::setDirectory ( const QString  directory)

Sets the directory field to directory.

Parameters
directoryThe field value to set.
Here is the call graph for this function:

◆ setFlags()

void FileCapabilitiesMessage::setFlags ( const FileFlags  flags)

Sets the flags field to flags.

Parameters
flagsThe field value to set.
Here is the call graph for this function:

◆ setMaxCount()

void FileCapabilitiesMessage::setMaxCount ( const quint16  maxCount)

Sets the maxCount field to maxCount.

Parameters
maxCountThe field value to set.
Here is the call graph for this function:

◆ setMaxSize()

void FileCapabilitiesMessage::setMaxSize ( const quint32  maxSize)

Sets the maxSize field to maxSize.

Parameters
maxSizeThe field value to set.
Here is the call graph for this function:

◆ setMessageIndex()

void FileCapabilitiesMessage::setMessageIndex ( const MessageIndex  messageIndex)

Sets the messageIndex field to messageIndex.

Parameters
messageIndexThe field value to set.
Here is the call graph for this function:

◆ setType()

void FileCapabilitiesMessage::setType ( const File  type)

Sets the type field to type.

Parameters
typeThe field value to set.
Here is the call graph for this function:

◆ type()

File FileCapabilitiesMessage::type ( ) const

Returns the FileCapabilitiesMessage data message's type field's current value.

Returns
the type field value.
Here is the caller graph for this function:

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