📄 class_null_allocator.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"><title>Crypto++: NullAllocator< T > Class Template Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.5.2 --><div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul></div><div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul></div><h1>NullAllocator< T > Class Template Reference</h1><!-- doxytag: class="NullAllocator" --><!-- doxytag: inherits="AllocatorBase" --><p>Inheritance diagram for NullAllocator< T >:<p><center><img src="class_null_allocator.png" usemap="#NullAllocator< T >_map" border="0" alt=""></center><map name="NullAllocator< T >_map"><area href="class_allocator_base.html" alt="AllocatorBase< T >" shape="rect" coords="0,0,122,24"></map><a href="class_null_allocator-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2><h3>template<class T><br> class NullAllocator< T ></h3><p><p>Definition at line <a class="el" href="secblock_8h-source.html#l00175">175</a> of file <a class="el" href="secblock_8h-source.html">secblock.h</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Types</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="637fc6a7a50772aef6d92fac378f19b7"></a><!-- doxytag: member="NullAllocator::value_type" ref="637fc6a7a50772aef6d92fac378f19b7" args="" -->typedef <a class="el" href="class_allocator_base.html">AllocatorBase</a>< T <br>>::<a class="el" href="class_null_allocator.html#637fc6a7a50772aef6d92fac378f19b7">value_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_null_allocator.html#637fc6a7a50772aef6d92fac378f19b7">value_type</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="df18d5e5728d4220e424cde203dad003"></a><!-- doxytag: member="NullAllocator::size_type" ref="df18d5e5728d4220e424cde203dad003" args="" -->typedef <a class="el" href="class_allocator_base.html">AllocatorBase</a>< T <br>>::<a class="el" href="class_null_allocator.html#df18d5e5728d4220e424cde203dad003">size_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_null_allocator.html#df18d5e5728d4220e424cde203dad003">size_type</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4ae8f156ce28ea8a0836ad59f449cb52"></a><!-- doxytag: member="NullAllocator::difference_type" ref="4ae8f156ce28ea8a0836ad59f449cb52" args="" -->typedef <a class="el" href="class_allocator_base.html">AllocatorBase</a>< T <br>>::<a class="el" href="class_null_allocator.html#4ae8f156ce28ea8a0836ad59f449cb52">difference_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_null_allocator.html#4ae8f156ce28ea8a0836ad59f449cb52">difference_type</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1e5175d69540f3834bbe60962425068e"></a><!-- doxytag: member="NullAllocator::pointer" ref="1e5175d69540f3834bbe60962425068e" args="" -->typedef <a class="el" href="class_allocator_base.html">AllocatorBase</a>< T <br>>::<a class="el" href="class_null_allocator.html#1e5175d69540f3834bbe60962425068e">pointer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_null_allocator.html#1e5175d69540f3834bbe60962425068e">pointer</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bee3d6302d261f2de57140cb9089b623"></a><!-- doxytag: member="NullAllocator::const_pointer" ref="bee3d6302d261f2de57140cb9089b623" args="" -->typedef <a class="el" href="class_allocator_base.html">AllocatorBase</a>< T <br>>::<a class="el" href="class_null_allocator.html#bee3d6302d261f2de57140cb9089b623">const_pointer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_null_allocator.html#bee3d6302d261f2de57140cb9089b623">const_pointer</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d620dec370717f92bb27ba02237d464"></a><!-- doxytag: member="NullAllocator::reference" ref="3d620dec370717f92bb27ba02237d464" args="" -->typedef <a class="el" href="class_allocator_base.html">AllocatorBase</a>< T <br>>::<a class="el" href="class_null_allocator.html#3d620dec370717f92bb27ba02237d464">reference</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_null_allocator.html#3d620dec370717f92bb27ba02237d464">reference</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="90b9401f32f5bcf008bee73049fae0cd"></a><!-- doxytag: member="NullAllocator::const_reference" ref="90b9401f32f5bcf008bee73049fae0cd" args="" -->typedef <a class="el" href="class_allocator_base.html">AllocatorBase</a>< T <br>>::<a class="el" href="class_null_allocator.html#90b9401f32f5bcf008bee73049fae0cd">const_reference</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_null_allocator.html#90b9401f32f5bcf008bee73049fae0cd">const_reference</a></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b9a7660ea1479a0a239a5b06b82d3fa2"></a><!-- doxytag: member="NullAllocator::allocate" ref="b9a7660ea1479a0a239a5b06b82d3fa2" args="(size_type n, const void *=NULL)" --><a class="el" href="class_null_allocator.html#1e5175d69540f3834bbe60962425068e">pointer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_null_allocator.html#b9a7660ea1479a0a239a5b06b82d3fa2">allocate</a> (<a class="el" href="class_null_allocator.html#df18d5e5728d4220e424cde203dad003">size_type</a> n, const void *=NULL)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f113adba543499994900b3e4ce729aa7"></a><!-- doxytag: member="NullAllocator::deallocate" ref="f113adba543499994900b3e4ce729aa7" args="(void *p, size_type n)" -->void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_null_allocator.html#f113adba543499994900b3e4ce729aa7">deallocate</a> (void *p, <a class="el" href="class_null_allocator.html#df18d5e5728d4220e424cde203dad003">size_type</a> n)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d83278b7072c6c626a44bffe371eb0d"></a><!-- doxytag: member="NullAllocator::max_size" ref="3d83278b7072c6c626a44bffe371eb0d" args="() const" --><a class="el" href="class_null_allocator.html#df18d5e5728d4220e424cde203dad003">size_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_null_allocator.html#3d83278b7072c6c626a44bffe371eb0d">max_size</a> () const</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9d7ddf797b14ff38e335357759cf0b8b"></a><!-- doxytag: member="NullAllocator::address" ref="9d7ddf797b14ff38e335357759cf0b8b" args="(reference r) const" --><a class="el" href="class_null_allocator.html#1e5175d69540f3834bbe60962425068e">pointer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_allocator_base.html#9d7ddf797b14ff38e335357759cf0b8b">address</a> (<a class="el" href="class_null_allocator.html#3d620dec370717f92bb27ba02237d464">reference</a> r) const</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb51730b092c484ce8dd86dc078ed207"></a><!-- doxytag: member="NullAllocator::address" ref="eb51730b092c484ce8dd86dc078ed207" args="(const_reference r) const " --><a class="el" href="class_null_allocator.html#bee3d6302d261f2de57140cb9089b623">const_pointer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_allocator_base.html#eb51730b092c484ce8dd86dc078ed207">address</a> (<a class="el" href="class_null_allocator.html#90b9401f32f5bcf008bee73049fae0cd">const_reference</a> r) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4816881defdf38aa120c70a03b7da903"></a><!-- doxytag: member="NullAllocator::construct" ref="4816881defdf38aa120c70a03b7da903" args="(pointer p, const T &val)" -->void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_allocator_base.html#4816881defdf38aa120c70a03b7da903">construct</a> (<a class="el" href="class_null_allocator.html#1e5175d69540f3834bbe60962425068e">pointer</a> p, const T &val)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="740cc02314cba092678ab0545fa6967b"></a><!-- doxytag: member="NullAllocator::destroy" ref="740cc02314cba092678ab0545fa6967b" args="(pointer p)" -->void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_allocator_base.html#740cc02314cba092678ab0545fa6967b">destroy</a> (<a class="el" href="class_null_allocator.html#1e5175d69540f3834bbe60962425068e">pointer</a> p)</td></tr><tr><td colspan="2"><br><h2>Static Protected Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1ffea05c1944ec2b9f8fcff4cd9ee717"></a><!-- doxytag: member="NullAllocator::CheckSize" ref="1ffea05c1944ec2b9f8fcff4cd9ee717" args="(size_t n)" -->static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_allocator_base.html#1ffea05c1944ec2b9f8fcff4cd9ee717">CheckSize</a> (size_t n)</td></tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="secblock_8h-source.html">secblock.h</a></ul><hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 1 11:11:43 2007 for Crypto++ by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -