Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(76)

Unified Diff: src/lte/model/lte-asn1-header.h

Issue 241320043: RrcConnectionReconfiguration Message - CA support
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/lte/model/lte-asn1-header.h
===================================================================
--- a/src/lte/model/lte-asn1-header.h
+++ b/src/lte/model/lte-asn1-header.h
@@ -1,6 +1,7 @@
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
+ * Copyright (c) 2015 Danilo Abrignani
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -16,6 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Author: Lluis Parcerisa <lparcerisa@cttc.cat>
+ * Danilo Abrignani <danilo.abrignani@unibo.it> (few mod for GSoC 2015, Ca support)
*/
#ifndef ASN1_HEADER_H
@@ -185,6 +187,14 @@
*/
void SerializeSequence (std::bitset<6> optionalOrDefaultMask,
bool isExtensionMarkerPresent) const;
+
+ /**
+ * Serialize a sequence
+ * \param optionalOrDefaultMask Mask to serialize
+ * \param isExtensionMarkerPresent true if Extension Marker is present
+ */
+ void SerializeSequence (std::bitset<7> optionalOrDefaultMask,
+ bool isExtensionMarkerPresent) const;
/**
* Serialize a sequence
* \param optionalOrDefaultMask Mask to serialize
@@ -402,6 +412,17 @@
Buffer::Iterator DeserializeSequence (std::bitset<6> *optionalOrDefaultMask,
bool isExtensionMarkerPresent,
Buffer::Iterator bIterator);
+
+ /**
+ * Deserialize a sequence
+ * \param optionalOrDefaultMask buffer to store the result
+ * \param isExtensionMarkerPresent true if Extension Marker is present
+ * \param bIterator buffer iterator
+ * \returns the modified buffer iterator
+ */
+ Buffer::Iterator DeserializeSequence (std::bitset<7> *optionalOrDefaultMask,
+ bool isExtensionMarkerPresent,
+ Buffer::Iterator bIterator);
/**
* Deserialize a sequence
* \param optionalOrDefaultMask buffer to store the result

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b