Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Functions
VA_LIST.cpp File Reference
#include "config.h"
#include <stddef.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
Include dependency graph for VA_LIST.cpp:

Go to the source code of this file.

Data Structures

struct  Type< T >
 
struct  Type< T[N]>
 

Macros

#define GET_TYPE_NAME(T)
 

Functions

 GET_TYPE_NAME (char)
 
 GET_TYPE_NAME (signed char)
 
 GET_TYPE_NAME (unsigned char)
 
 GET_TYPE_NAME (short)
 
 GET_TYPE_NAME (unsigned short)
 
 GET_TYPE_NAME (int)
 
 GET_TYPE_NAME (unsigned int)
 
 GET_TYPE_NAME (long)
 
 GET_TYPE_NAME (unsigned long)
 
 GET_TYPE_NAME (long long)
 
 GET_TYPE_NAME (unsigned long long)
 
 GET_TYPE_NAME (float)
 
 GET_TYPE_NAME (double)
 
 GET_TYPE_NAME (long double)
 
 GET_TYPE_NAME (void *)
 
const char * get_type_name (...)
 
int va_list_array_size (va_list)
 
const char * va_list_type_name (va_list)
 
int main ()
 

Macro Definition Documentation

◆ GET_TYPE_NAME

#define GET_TYPE_NAME (   T)
Value:
const char* get_type_name (T) { return # T; } \
const char* get_type_name (T*) { return # T "*"; } \
typedef void unused_type
#define T
Definition 17.names.cpp:163
const char * get_type_name(...)
Definition VA_LIST.cpp:72

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 1999-2007 Rogue Wave Software, Inc.

Definition at line 34 of file VA_LIST.cpp.

Function Documentation

◆ get_type_name()

const char * get_type_name (   ...)

Definition at line 72 of file VA_LIST.cpp.

◆ GET_TYPE_NAME() [1/15]

GET_TYPE_NAME ( char  )

◆ GET_TYPE_NAME() [2/15]

GET_TYPE_NAME ( double  )

◆ GET_TYPE_NAME() [3/15]

GET_TYPE_NAME ( float  )

◆ GET_TYPE_NAME() [4/15]

GET_TYPE_NAME ( int  )

◆ GET_TYPE_NAME() [5/15]

GET_TYPE_NAME ( long double  )

◆ GET_TYPE_NAME() [6/15]

GET_TYPE_NAME ( long long  )

◆ GET_TYPE_NAME() [7/15]

GET_TYPE_NAME ( long  )

◆ GET_TYPE_NAME() [8/15]

GET_TYPE_NAME ( short  )

◆ GET_TYPE_NAME() [9/15]

GET_TYPE_NAME ( signed char  )

◆ GET_TYPE_NAME() [10/15]

GET_TYPE_NAME ( unsigned char  )

◆ GET_TYPE_NAME() [11/15]

GET_TYPE_NAME ( unsigned int  )

◆ GET_TYPE_NAME() [12/15]

GET_TYPE_NAME ( unsigned long long  )

◆ GET_TYPE_NAME() [13/15]

GET_TYPE_NAME ( unsigned long  )

◆ GET_TYPE_NAME() [14/15]

GET_TYPE_NAME ( unsigned short  )

◆ GET_TYPE_NAME() [15/15]

GET_TYPE_NAME ( void *  )

◆ main()

int main ( void  )

Definition at line 172 of file VA_LIST.cpp.

◆ va_list_array_size()

int va_list_array_size ( va_list  )

Definition at line 89 of file VA_LIST.cpp.

◆ va_list_type_name()

const char * va_list_type_name ( va_list  )

Definition at line 94 of file VA_LIST.cpp.