equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef MESSAGEIDENTIFIER_H |
|
17 #define MESSAGEIDENTIFIER_H |
|
18 |
|
19 #include "identifierbase.h" |
|
20 #include "nodemessagetypes.h" |
|
21 #include "aliasidentifier.h" |
|
22 |
|
23 namespace Parser |
|
24 { |
|
25 |
|
26 class CSignatureIdentifier; |
|
27 |
|
28 class CMessageIdentifier : public CIdentifierBase |
|
29 { |
|
30 public: |
|
31 explicit CMessageIdentifier(const char* aName) |
|
32 : CIdentifierBase(Parser::EMessageIdentifier, aName), iSignature(NULL) |
|
33 { |
|
34 } |
|
35 |
|
36 virtual void Describe(const unsigned char* aData, unsigned int aLength, const void* aOptions, std::ostream& aDescription) const; |
|
37 |
|
38 public: |
|
39 const CSignatureIdentifier* iSignature; |
|
40 TMessageId iMessageId; |
|
41 }; |
|
42 |
|
43 typedef CAliasIdentifier<CMessageIdentifier> CMessageAliasIdentifier; |
|
44 |
|
45 } // namespace Parser |
|
46 |
|
47 #endif |
|
48 // MESSAGEIDENTIFIER_H |
|
49 |