Specific Examples Test Suite¶
Template Type Alias¶
-
using
IsFurry
= std::is_furry<T, U, N>¶ a type alias with three template arguments
- Template Parameters
T
: this is the first template parameterU
: this is the second template parameterN
: this is the third template parameter, it is a non-type parameter
-
using
IsFuzzy
= std::is_fuzzy<T>¶ a type alias with one template argument
- Template Parameters
T
: this is the template parameter
Namespaced Function Examples¶
-
void
testnamespace::NamespacedClassTest
::
function
() const = 0¶ namespaced class function
-
void
testnamespace::ClassTest
::
function
()¶ second namespaced class function
-
void
testnamespace::ClassTest
::
anotherFunction
()¶ second namespaced class other function
-
void
ClassTest
::
function
(int myParameter)¶ non-namespaced class function
More details in the header file.
More documentation in the impl file
-
void
ClassTest
::
anotherFunction
()¶ non-namespaced class other function
More documentation in the impl file
Extern Examples¶
-
int
cache_tree_matches_traversal
(struct cache_tree*, struct name_entry *ent, struct traverse_info *info)¶
-
struct cache_tree
global_cache_tree
¶ Shared cache tree instance.
Alias Example¶
-
void
frob_foos
(void *Frobs) Foo frob routine.
- bob this something else
- Side Effects
Frobs any foos.
- Return
Frobs any foos.
- bob this something else
- Side Effects
Frobs any foos.
- Parameters
Frobs
: any foos.
Function Overloads¶
-
void
f
(int, int)¶ Function which takes two int arguments.
-
void
f
(double, double)¶ Function which takes two double arguments.
-
void
test
::
g
(int, int)¶ Another function which takes two int arguments.
-
void
test
::
g
(double, double)¶ Another function which takes two double arguments.
-
void
h
(std::string, MyType)¶ Another function which takes a custom type.
Warning
doxygenfunction: Unable to resolve multiple matches for function “h” with arguments (std::string, MyOtherType) in doxygen xml output for project “functionOverload” from directory: ../../examples/specific/functionOverload/xml/. Potential matches:
- template<typename T, typename U> void h(std::string, const T m, const U n)
- template<typename T> void h(std::string, const T myType)
- void h(std::string, MyOtherType o)
- void h(std::string, MyType)
- void h(std::string, const MyType &mytype)
- void h(std::string, const int myint)
- void h(std::string, float myfloat)
Warning
doxygenfunction: Unable to resolve multiple matches for function “h” with arguments (std::string, const int) in doxygen xml output for project “functionOverload” from directory: ../../examples/specific/functionOverload/xml/. Potential matches:
- template<typename T, typename U> void h(std::string, const T m, const U n)
- template<typename T> void h(std::string, const T myType)
- void h(std::string, MyOtherType o)
- void h(std::string, MyType)
- void h(std::string, const MyType &mytype)
- void h(std::string, const int myint)
- void h(std::string, float myfloat)
Warning
doxygenfunction: Unable to resolve multiple matches for function “h” with arguments (std::string, const T, const U) in doxygen xml output for project “functionOverload” from directory: ../../examples/specific/functionOverload/xml/. Potential matches:
- template<typename T, typename U> void h(std::string, const T m, const U n)
- template<typename T> void h(std::string, const T myType)
- void h(std::string, MyOtherType o)
- void h(std::string, MyType)
- void h(std::string, const MyType &mytype)
- void h(std::string, const int myint)
- void h(std::string, float myfloat)
Program Listing¶
-
Vector
center
() const¶ The center of the InteractionBox in device coordinates (millimeters). This point is equidistant from all sides of the box.
Vector boxCenter = interactionBox.center(); Vector max = interactionBox.max(); Vector diff = max - boxCenter;
- Return
The InteractionBox center in device coordinates.
- Since
1.0
Image¶
-
class
ImageClass
: public Image¶ This is a class with an image in the description.
It renders like this:
Breathe & Sphinx should automatically copy the image from the doxygen output directory into the _images folder of the Sphinx output.
Array Parameter¶
-
int
foo
(int a[5])¶ My function.
-
int
bar
(int n, int a[static n])¶ My other function.
C Enum¶
-
enum
GSM_BackupFormat
¶ Backup data.
Values:
-
enumerator
GSM_Backup_Auto
= 0¶ Compatibility with old gboolean used instead of format.
File type is guessed for extension, non unicode format used for Gammu backup.
-
enumerator
GSM_Backup_AutoUnicode
= 1¶ Compatibility with old gboolean used instead of format.
File type is guessed for extension, unicode format used for Gammu backup.
-
enumerator
GSM_Backup_LMB
¶ LMB format, compatible with Logo manager, can store phonebooks and logos.
-
enumerator
GSM_Backup_VCalendar
¶ vCalendar standard, can store todo and calendar entries.
-
enumerator
GSM_Backup_VCard
¶ vCard standard, can store phone phonebook entries.
-
enumerator
GSM_Backup_LDIF
¶ LDIF (LDAP Data Interchange Format), can store phone phonebook entries.
-
enumerator
GSM_Backup_ICS
¶ iCalendar standard, can store todo and calendar entries.
-
enumerator
GSM_Backup_Gammu
¶ Gammu own format can store almost anything from phone.
This is ASCII version of the format, Unicode strings are HEX encoded. Use GSM_Backup_GammuUCS2 instead if possible.
-
enumerator
GSM_Backup_GammuUCS2
¶ Gammu own format can store almost anything from phone.
This is UCS2-BE version of the format.
-
enumerator
GSM_Backup_VNote
¶ vNote standard, can store phone notes.
-
enumerator
C Typedef¶
C++ Macro¶
Multifile¶
Interface Class¶
-
interface
InterfaceClass
¶ This is a test interface class.
Some details about the InterfaceClass interface
C++ Anonymous Entities¶
-
struct
ClassWithAnonEntities
¶ -
Public Members
-
int
structMember
¶
-
struct ClassWithAnonEntities::[anonymous] [anonymous]¶
-
int
unionMember
¶
-
union ClassWithAnonEntities::[anonymous] [anonymous]¶
-
int