\hypertarget{extension__set_8h}{\section{\-Undermind/proxy/cpp/include/google/protobuf/extension\-\_\-set.h \-File \-Reference}
\label{extension__set_8h}\index{\-Undermind/proxy/cpp/include/google/protobuf/extension\-\_\-set.\-h@{\-Undermind/proxy/cpp/include/google/protobuf/extension\-\_\-set.\-h}}
}
{\ttfamily \#include $<$vector$>$}\*
{\ttfamily \#include $<$stack$>$}\*
{\ttfamily \#include $<$map$>$}\*
{\ttfamily \#include $<$utility$>$}\*
{\ttfamily \#include $<$string$>$}\*
{\ttfamily \#include $<$google/protobuf/stubs/common.\-h$>$}\*
\-Include dependency graph for extension\-\_\-set.\-h\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{extension__set_8h__incl}
\end{center}
\end{figure}
\-This graph shows which files directly or indirectly include this file\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{extension__set_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{\-Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structgoogle_1_1protobuf_1_1internal_1_1ExtensionInfo}{google\-::protobuf\-::internal\-::\-Extension\-Info}
\item 
struct \hyperlink{structgoogle_1_1protobuf_1_1internal_1_1ExtensionInfo_1_1EnumValidityCheck}{google\-::protobuf\-::internal\-::\-Extension\-Info\-::\-Enum\-Validity\-Check}
\item 
class \hyperlink{classgoogle_1_1protobuf_1_1internal_1_1ExtensionFinder}{google\-::protobuf\-::internal\-::\-Extension\-Finder}
\item 
class \hyperlink{classgoogle_1_1protobuf_1_1internal_1_1GeneratedExtensionFinder}{google\-::protobuf\-::internal\-::\-Generated\-Extension\-Finder}
\item 
class \hyperlink{classgoogle_1_1protobuf_1_1internal_1_1ExtensionSet}{google\-::protobuf\-::internal\-::\-Extension\-Set}
\item 
struct {\bfseries google\-::protobuf\-::internal\-::\-Extension\-Set\-::\-Extension}
\item 
class \hyperlink{classgoogle_1_1protobuf_1_1internal_1_1PrimitiveTypeTraits}{google\-::protobuf\-::internal\-::\-Primitive\-Type\-Traits$<$ Type $>$}
\item 
class \hyperlink{classgoogle_1_1protobuf_1_1internal_1_1RepeatedPrimitiveTypeTraits}{google\-::protobuf\-::internal\-::\-Repeated\-Primitive\-Type\-Traits$<$ Type $>$}
\item 
class \hyperlink{classgoogle_1_1protobuf_1_1internal_1_1StringTypeTraits}{google\-::protobuf\-::internal\-::\-String\-Type\-Traits}
\item 
class \hyperlink{classgoogle_1_1protobuf_1_1internal_1_1RepeatedStringTypeTraits}{google\-::protobuf\-::internal\-::\-Repeated\-String\-Type\-Traits}
\item 
class \hyperlink{classgoogle_1_1protobuf_1_1internal_1_1EnumTypeTraits}{google\-::protobuf\-::internal\-::\-Enum\-Type\-Traits$<$ Type, Is\-Valid $>$}
\item 
class \hyperlink{classgoogle_1_1protobuf_1_1internal_1_1RepeatedEnumTypeTraits}{google\-::protobuf\-::internal\-::\-Repeated\-Enum\-Type\-Traits$<$ Type, Is\-Valid $>$}
\item 
class \hyperlink{classgoogle_1_1protobuf_1_1internal_1_1MessageTypeTraits}{google\-::protobuf\-::internal\-::\-Message\-Type\-Traits$<$ Type $>$}
\item 
class \hyperlink{classgoogle_1_1protobuf_1_1internal_1_1RepeatedMessageTypeTraits}{google\-::protobuf\-::internal\-::\-Repeated\-Message\-Type\-Traits$<$ Type $>$}
\item 
class \hyperlink{classgoogle_1_1protobuf_1_1internal_1_1ExtensionIdentifier}{google\-::protobuf\-::internal\-::\-Extension\-Identifier$<$ Extendee\-Type, Type\-Traits\-Type, field\-\_\-type, is\-\_\-packed $>$}
\end{DoxyCompactItemize}
\subsection*{\-Namespaces}
\begin{DoxyCompactItemize}
\item 
namespace \hyperlink{namespacegoogle}{google}
\item 
namespace \hyperlink{namespacegoogle_1_1protobuf}{google\-::protobuf}
\item 
namespace \hyperlink{namespacegoogle_1_1protobuf_1_1io}{google\-::protobuf\-::io}
\item 
namespace \hyperlink{namespacegoogle_1_1protobuf_1_1internal}{google\-::protobuf\-::internal}
\end{DoxyCompactItemize}
\subsection*{\-Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{extension__set_8h_ab62c15e73dfce99a79b8fe009f326532}{desc}~const \-Field\-Descriptor$\ast$ descriptor
\item 
\#define \hyperlink{extension__set_8h_ab62c15e73dfce99a79b8fe009f326532}{desc}~const \-Field\-Descriptor$\ast$ descriptor
\item 
\#define \hyperlink{extension__set_8h_abfca84f9742c9ae0ed64466bd10edd49}{\-P\-R\-O\-T\-O\-B\-U\-F\-\_\-\-D\-E\-F\-I\-N\-E\-\_\-\-P\-R\-I\-M\-I\-T\-I\-V\-E\-\_\-\-T\-Y\-P\-E}(\-T\-Y\-P\-E, \-M\-E\-T\-H\-O\-D)
\item 
\#define \hyperlink{extension__set_8h_a2a2b194143d5d034504f6303be648585}{\-G\-O\-O\-G\-L\-E\-\_\-\-P\-R\-O\-T\-O\-B\-U\-F\-\_\-\-E\-X\-T\-E\-N\-S\-I\-O\-N\-\_\-\-A\-C\-C\-E\-S\-S\-O\-R\-S}(\-C\-L\-A\-S\-S\-N\-A\-M\-E)
\end{DoxyCompactItemize}
\subsection*{\-Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef uint8 \hyperlink{namespacegoogle_1_1protobuf_1_1internal_a6e3c2c524ec9217bf15fc226901fc5cb}{google\-::protobuf\-::internal\-::\-Field\-Type}
\item 
typedef bool \hyperlink{namespacegoogle_1_1protobuf_1_1internal_a564f9a748d42295bb86060bd23154683}{google\-::protobuf\-::internal\-::\-Enum\-Validity\-Func} (int number)
\item 
typedef bool \hyperlink{namespacegoogle_1_1protobuf_1_1internal_ab80ac347a464199e74e0e4d102c63ce6}{google\-::protobuf\-::internal\-::\-Enum\-Validity\-Func\-With\-Arg} (const void $\ast$arg, int number)
\end{DoxyCompactItemize}


\subsection{\-Define \-Documentation}
\hypertarget{extension__set_8h_ab62c15e73dfce99a79b8fe009f326532}{\index{extension\-\_\-set.\-h@{extension\-\_\-set.\-h}!desc@{desc}}
\index{desc@{desc}!extension_set.h@{extension\-\_\-set.\-h}}
\subsubsection[{desc}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf desc}~const \-Field\-Descriptor$\ast$ descriptor}}\label{extension__set_8h_ab62c15e73dfce99a79b8fe009f326532}
\hypertarget{extension__set_8h_ab62c15e73dfce99a79b8fe009f326532}{\index{extension\-\_\-set.\-h@{extension\-\_\-set.\-h}!desc@{desc}}
\index{desc@{desc}!extension_set.h@{extension\-\_\-set.\-h}}
\subsubsection[{desc}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf desc}~const \-Field\-Descriptor$\ast$ descriptor}}\label{extension__set_8h_ab62c15e73dfce99a79b8fe009f326532}
\hypertarget{extension__set_8h_a2a2b194143d5d034504f6303be648585}{\index{extension\-\_\-set.\-h@{extension\-\_\-set.\-h}!\-G\-O\-O\-G\-L\-E\-\_\-\-P\-R\-O\-T\-O\-B\-U\-F\-\_\-\-E\-X\-T\-E\-N\-S\-I\-O\-N\-\_\-\-A\-C\-C\-E\-S\-S\-O\-R\-S@{\-G\-O\-O\-G\-L\-E\-\_\-\-P\-R\-O\-T\-O\-B\-U\-F\-\_\-\-E\-X\-T\-E\-N\-S\-I\-O\-N\-\_\-\-A\-C\-C\-E\-S\-S\-O\-R\-S}}
\index{\-G\-O\-O\-G\-L\-E\-\_\-\-P\-R\-O\-T\-O\-B\-U\-F\-\_\-\-E\-X\-T\-E\-N\-S\-I\-O\-N\-\_\-\-A\-C\-C\-E\-S\-S\-O\-R\-S@{\-G\-O\-O\-G\-L\-E\-\_\-\-P\-R\-O\-T\-O\-B\-U\-F\-\_\-\-E\-X\-T\-E\-N\-S\-I\-O\-N\-\_\-\-A\-C\-C\-E\-S\-S\-O\-R\-S}!extension_set.h@{extension\-\_\-set.\-h}}
\subsubsection[{\-G\-O\-O\-G\-L\-E\-\_\-\-P\-R\-O\-T\-O\-B\-U\-F\-\_\-\-E\-X\-T\-E\-N\-S\-I\-O\-N\-\_\-\-A\-C\-C\-E\-S\-S\-O\-R\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-G\-O\-O\-G\-L\-E\-\_\-\-P\-R\-O\-T\-O\-B\-U\-F\-\_\-\-E\-X\-T\-E\-N\-S\-I\-O\-N\-\_\-\-A\-C\-C\-E\-S\-S\-O\-R\-S}(
\begin{DoxyParamCaption}
\item[{}]{\-C\-L\-A\-S\-S\-N\-A\-M\-E}
\end{DoxyParamCaption}
)}}\label{extension__set_8h_a2a2b194143d5d034504f6303be648585}
\hypertarget{extension__set_8h_abfca84f9742c9ae0ed64466bd10edd49}{\index{extension\-\_\-set.\-h@{extension\-\_\-set.\-h}!\-P\-R\-O\-T\-O\-B\-U\-F\-\_\-\-D\-E\-F\-I\-N\-E\-\_\-\-P\-R\-I\-M\-I\-T\-I\-V\-E\-\_\-\-T\-Y\-P\-E@{\-P\-R\-O\-T\-O\-B\-U\-F\-\_\-\-D\-E\-F\-I\-N\-E\-\_\-\-P\-R\-I\-M\-I\-T\-I\-V\-E\-\_\-\-T\-Y\-P\-E}}
\index{\-P\-R\-O\-T\-O\-B\-U\-F\-\_\-\-D\-E\-F\-I\-N\-E\-\_\-\-P\-R\-I\-M\-I\-T\-I\-V\-E\-\_\-\-T\-Y\-P\-E@{\-P\-R\-O\-T\-O\-B\-U\-F\-\_\-\-D\-E\-F\-I\-N\-E\-\_\-\-P\-R\-I\-M\-I\-T\-I\-V\-E\-\_\-\-T\-Y\-P\-E}!extension_set.h@{extension\-\_\-set.\-h}}
\subsubsection[{\-P\-R\-O\-T\-O\-B\-U\-F\-\_\-\-D\-E\-F\-I\-N\-E\-\_\-\-P\-R\-I\-M\-I\-T\-I\-V\-E\-\_\-\-T\-Y\-P\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-P\-R\-O\-T\-O\-B\-U\-F\-\_\-\-D\-E\-F\-I\-N\-E\-\_\-\-P\-R\-I\-M\-I\-T\-I\-V\-E\-\_\-\-T\-Y\-P\-E}(
\begin{DoxyParamCaption}
\item[{}]{\-T\-Y\-P\-E, }
\item[{}]{\-M\-E\-T\-H\-O\-D}
\end{DoxyParamCaption}
)}}\label{extension__set_8h_abfca84f9742c9ae0ed64466bd10edd49}
{\bfseries \-Value\-:}
\begin{DoxyCode}
template<> inline TYPE PrimitiveTypeTraits<TYPE>::Get(                     \
    int number, const ExtensionSet& set, TYPE default_value) {             \
  return set.Get##METHOD(number, default_value);                           \
}                                                                          \
template<> inline void PrimitiveTypeTraits<TYPE>::Set(                     \
    int number, FieldType field_type, TYPE value, ExtensionSet* set) {     \
  set->Set##METHOD(number, field_type, value, NULL);                       \
}                                                                          \
                                                                           \
template<> inline TYPE RepeatedPrimitiveTypeTraits<TYPE>::Get(             \
    int number, const ExtensionSet& set, int index) {                      \
  return set.GetRepeated##METHOD(number, index);                           \
}                                                                          \
template<> inline void RepeatedPrimitiveTypeTraits<TYPE>::Set(             \
    int number, int index, TYPE value, ExtensionSet* set) {                \
  set->SetRepeated##METHOD(number, index, value);                          \
}                                                                          \
template<> inline void RepeatedPrimitiveTypeTraits<TYPE>::Add(             \
    int number, FieldType field_type, bool is_packed,                      \
    TYPE value, ExtensionSet* set) {                                       \
  set->Add##METHOD(number, field_type, is_packed, value, NULL);            \
}
\end{DoxyCode}
