add directory misc and move stuff to it.

This commit is contained in:
Marty Kraimer
2010-09-23 14:47:47 -04:00
parent 0d32a60b08
commit 2c6a99a6cb
8 changed files with 46 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
TOP = ..
include $(TOP)/configure/CONFIG
DIRS += misc
DIRS += pv
DIRS += factory
DIRS += test

13
pvDataApp/misc/Makefile Normal file
View File

@@ -0,0 +1,13 @@
TOP=../..
include $(TOP)/configure/CONFIG
INC += requester.h
INC += serialize.h
INC += bitSet.h
INC += byteBuffer.h
include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE

View File

@@ -3,10 +3,6 @@ TOP=../..
include $(TOP)/configure/CONFIG
INC += pvIntrospect.h
INC += bitSet.h
INC += requester.h
INC += byteBuffer.h
INC += serialize.h
INC += pvData.h
include $(TOP)/configure/RULES

32
pvDataApp/pv/convert.h Normal file
View File

@@ -0,0 +1,32 @@
/* convert.h */
#include <string>
#include <stdexcept>
#include <map>
#ifndef CONVERT_H
#define CONVERT_H
#include "pvIntrospect.h"
#include "pvData.h"
namespace epics { namespace pvData {
class Convert {
public:
Convert();
~Convert();
void getFullName(std::string *buf,PVField *pvField);
void getString(std::string *buf,PVfield *pvField,int indentLevel);
void getString(std::string *buf,PVfield *pvField);
void fromString(PVScalar *pv, StringConstPtr from);
int fromString(PVScalarArray *pv, StringConstPtr from);
private:
Convert(); // not implemented
Convert(Convert const & ); // not implemented
Convert & operator=(Convert const &); //not implemented
class Convert *pImpl;
};
extern Convert * getConvert();
}}
#endif /* CONVERT_H */