class CFrameInfoStrings : public CBase |
Class used to maintain frame information stored in codec specific resource files.
Public Member Functions | |
---|---|
~CFrameInfoStrings () | |
IMPORT_C TInt | Count () |
IMPORT_C const TPtrC | Decoder () |
IMPORT_C const TPtrC | Depth () |
IMPORT_C const TPtrC | Details () |
IMPORT_C const TPtrC | Dimensions () |
IMPORT_C const TPtrC | Format () |
IMPORT_C CFrameInfoStrings * | NewL () |
IMPORT_C CFrameInfoStrings * | NewLC () |
IMPORT_C void | SetDecoderL (const TDesC &) |
IMPORT_C void | SetDepthL (const TDesC &) |
IMPORT_C void | SetDetailsL (const TDesC &) |
IMPORT_C void | SetDimensionsL (const TDesC &) |
IMPORT_C void | SetFormatL (const TDesC &) |
IMPORT_C const TPtrC | String ( TInt ) |
Private Member Functions | |
---|---|
CFrameInfoStrings () | |
void | ConstructL () |
void | SetStringL ( TInt , const TDesC &) |
Private Member Enumerations | |
---|---|
enum | TFrameInfoStringIndex { EDecoder = 0, EFormat = 1, EDimensions = 2, EDepth = 3, EDetails = 4 } |
Private Attributes | |
---|---|
CDesCArray * | iFrameInfoStrings |
IMPORT_C | ~CFrameInfoStrings | ( | ) |
Destructor.
Frees all resources owned by the object prior to its destruction.
IMPORT_C const TPtrC | Decoder | ( | ) | const |
Returns a pointer to the 'decoder' entry string from this object.
IMPORT_C const TPtrC | Depth | ( | ) | const |
Returns a pointer to the 'depth' entry string from this object.
IMPORT_C const TPtrC | Details | ( | ) | const |
Returns a pointer to the 'details' entry string from this object.
IMPORT_C const TPtrC | Dimensions | ( | ) | const |
Returns a pointer to the 'dimensions' entry string from this object.
IMPORT_C const TPtrC | Format | ( | ) | const |
Retruns a pointer to the 'format' entry string from this object.
IMPORT_C CFrameInfoStrings * | NewL | ( | ) | [static] |
Static factory function for creating instances of CFrameInfoStrings .
IMPORT_C CFrameInfoStrings * | NewLC | ( | ) | [static] |
Static factory function for creating instances of CFrameInfoStrings . Leaves the newly allocated object on the cleanup stack.
IMPORT_C void | SetDecoderL | ( | const TDesC & | aString | ) |
Adds the supplied string to this object as the 'decoder' entry.
const TDesC & aString | A descriptor containing the string to add. |
IMPORT_C void | SetDepthL | ( | const TDesC & | aString | ) |
Adds the supplied string to this object as the 'depth' entry.
const TDesC & aString | A descriptor containing the string to add. |
IMPORT_C void | SetDetailsL | ( | const TDesC & | aString | ) |
Adds the supplied string to this object as the 'details' entry.
const TDesC & aString | A descriptor containing the string to add. |
IMPORT_C void | SetDimensionsL | ( | const TDesC & | aString | ) |
Adds the supplied string to this object as the 'dimensions' entry.
const TDesC & aString | A descriptor containing the string to add. |
IMPORT_C void | SetFormatL | ( | const TDesC & | aString | ) |
Adds the supplied string to this object as the 'format' entry.
const TDesC & aString | A descriptor containing the string to add. |
IMPORT_C const TPtrC | String | ( | TInt | aIndex | ) | const |
Returns the string at position aIndex in the string table. The index runs from 0 to CFrameInfoStrings::Count() - 1.
TInt aIndex | The position of the string to retrieve. |
EDecoder = 0 | |
EFormat = 1 | |
EDimensions = 2 | |
EDepth = 3 | |
EDetails = 4 |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.