Functions
Test-DynamicList.C File Reference
Include dependency graph for Test-DynamicList.C:

Go to the source code of this file.

Functions

template<class T >
void printInfo (const word &tag, const UList< T > &lst, const bool showSize=false)
 
template<class T , unsigned SizeInc, unsigned SizeMult, unsigned SizeDiv>
void printInfo (const word &tag, const DynamicList< T, SizeInc, SizeMult, SizeDiv > &lst, const bool showSize=false)
 
int main (int argc, char *argv[])
 

Detailed Description

Original source file Test-DynamicList.C

Definition in file Test-DynamicList.C.

Function Documentation

◆ printInfo() [1/2]

void printInfo ( const word tag,
const UList< T > &  lst,
const bool  showSize = false 
)

Definition at line 36 of file Test-DynamicList.C.

References Foam::endl(), Foam::Info, and UList::size().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ printInfo() [2/2]

void printInfo ( const word tag,
const DynamicList< T, SizeInc, SizeMult, SizeDiv > &  lst,
const bool  showSize = false 
)

Definition at line 53 of file Test-DynamicList.C.

References DynamicList::capacity(), Foam::endl(), and Foam::Info.

Here is the call graph for this function:

◆ main()

int main ( int  argc,
char *  argv[] 
)