Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Mem_Map.cpp File Reference

#include "ace_pch.h"
#include "ace/Mem_Map.h"
#include "ace/Log_Msg.h"
#include "ace/SString.h"
#include "ace/Mem_Map.i"

Include dependency graph for Mem_Map.cpp:

Include dependency graph

Go to the source code of this file.

Defines

#define ACE_USE_MAPPING_NAME   1

Functions

const char * get_rcsid_ace_Mem_Map (const char *)
void to_mapping_name (ACE_TCHAR *mapobjname, const ACE_TCHAR *filename, size_t len)

Variables

const char * rcsid_ace_Mem_Map = get_rcsid_ace_Mem_Map ( rcsid_ace_Mem_Map )


Define Documentation

#define ACE_USE_MAPPING_NAME   1
 

Definition at line 11 of file Mem_Map.cpp.


Function Documentation

const char* get_rcsid_ace_Mem_Map const char *    [inline, static]
 

Definition at line 22 of file Mem_Map.cpp.

00022 : Mem_Map.cpp,v 1.1.1.4.2.1 2003/03/13 19:44:21 chad Exp $")

void to_mapping_name ACE_TCHAR   mapobjname,
const ACE_TCHAR   filename,
size_t    len
[static]
 

Definition at line 33 of file Mem_Map.cpp.

References ACE_LIB_TEXT, and ACE_TCHAR.

Referenced by ACE_Mem_Map::map_it.

00036 {
00037   --len;
00038   size_t i = 0;
00039 
00040   while (*filename && i < len)
00041     {
00042       if (*filename == ACE_LIB_TEXT ('\\'))
00043         // Can't use backslash in mapping object name.
00044         mapobjname[i] = ACE_LIB_TEXT ('.');
00045       else
00046         mapobjname[i] = *filename;
00047       ++filename;
00048       ++i;
00049     }
00050 
00051   mapobjname[i] = 0;
00052 }


Variable Documentation

const char* rcsid_ace_Mem_Map = get_rcsid_ace_Mem_Map ( rcsid_ace_Mem_Map ) [static]
 

Definition at line 22 of file Mem_Map.cpp.


Generated on Mon Jun 16 11:48:00 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002