MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
socketstreamdrive.h File Reference
#include "streamdrive.h"
Include dependency graph for socketstreamdrive.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  StreamDR
 
struct  FileDriveContentTypeReader
 
struct  FileDriveContentTypeWordSetType
 

Typedefs

typedef std::map< std::string,
FileDriveContentTypeReader * > 
FileDriveContentTypeMap
 

Functions

bool SetFileDriveContentType (const char *name, FileDriveContentTypeReader *rf)
 
void DestroyFileDriveContentTypes (void)
 

Variables

FileDriveContentTypeMap fileDriveContentTypeMap
 
FileDriveContentTypeWordSetType fileDriveContentTypeWordSet
 

Typedef Documentation

typedef std::map<std::string,FileDriveContentTypeReader*> FileDriveContentTypeMap

Definition at line 110 of file socketstreamdrive.h.

Function Documentation

void DestroyFileDriveContentTypes ( void  )

Definition at line 673 of file socketstreamdrive.cc.

Referenced by MBDynParser::~MBDynParser().

673  {
674  for (FileDriveContentTypeMap::iterator i = fileDriveContentTypeMap.begin(); i != fileDriveContentTypeMap.end(); ++i) {
675  delete i->second;
676  }
677  fileDriveContentTypeMap.clear();
678 }
FileDriveContentTypeMap fileDriveContentTypeMap
bool SetFileDriveContentType ( const char *  name,
FileDriveContentTypeReader rf 
)

Definition at line 666 of file socketstreamdrive.cc.

Referenced by module_init().

666  {
667  pedantic_cout("registering file drive content type \"" << name << "\""
668  << std::endl );
669  return fileDriveContentTypeMap.insert(FileDriveContentTypeMap::value_type(name, rf)).second;
670 }
FileDriveContentTypeMap fileDriveContentTypeMap

Variable Documentation

FileDriveContentTypeMap fileDriveContentTypeMap

Definition at line 656 of file socketstreamdrive.cc.

FileDriveContentTypeWordSetType fileDriveContentTypeWordSet

Definition at line 657 of file socketstreamdrive.cc.