LEFT | RIGHT |
(no file at all) | |
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) | 3 * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 * \param nmax max value to serialize | 90 * \param nmax max value to serialize |
91 */ | 91 */ |
92 void SerializeInteger (int n, int nmin, int nmax) const; | 92 void SerializeInteger (int n, int nmin, int nmax) const; |
93 // void SerializeOctetstring (std::string s) const; | 93 // void SerializeOctetstring (std::string s) const; |
94 /** | 94 /** |
95 * Serialize a Sequence | 95 * Serialize a Sequence |
96 * \param numElems element number to serialize | 96 * \param numElems element number to serialize |
97 * \param nMax max value to serialize | 97 * \param nMax max value to serialize |
98 * \param nMin min value to serialize | 98 * \param nMin min value to serialize |
99 */ | 99 */ |
100 void SerializeSequenceOf (int numElems, int nMax, int nMin) const; | 100 void SerializeSequenceOf (size_t numElems, int nMax, int nMin) const; |
101 /** | 101 /** |
102 * Serialize a Choice (set of options) | 102 * Serialize a Choice (set of options) |
103 * \param numOptions number of options | 103 * \param numOptions number of options |
104 * \param selectedOption selected option | 104 * \param selectedOption selected option |
105 * \param isExtensionMarkerPresent true if extension mark is present | 105 * \param isExtensionMarkerPresent true if extension mark is present |
106 */ | 106 */ |
107 void SerializeChoice (int numOptions, int selectedOption, | 107 void SerializeChoice (int numOptions, int selectedOption, |
108 bool isExtensionMarkerPresent) const; | 108 bool isExtensionMarkerPresent) const; |
109 /** | 109 /** |
110 * Serialize an Enum | 110 * Serialize an Enum |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 * \returns the modified buffer iterator | 540 * \returns the modified buffer iterator |
541 */ | 541 */ |
542 Buffer::Iterator DeserializeSequenceOf (int *numElems, int nMax, int nMin, | 542 Buffer::Iterator DeserializeSequenceOf (int *numElems, int nMax, int nMin, |
543 Buffer::Iterator bIterator); | 543 Buffer::Iterator bIterator); |
544 }; | 544 }; |
545 | 545 |
546 } // namespace ns3 | 546 } // namespace ns3 |
547 | 547 |
548 #endif // ASN1_HEADER_H | 548 #endif // ASN1_HEADER_H |
549 | 549 |
LEFT | RIGHT |