add directory misc and move stuff to it.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
TOP = ..
|
||||
include $(TOP)/configure/CONFIG
|
||||
DIRS += misc
|
||||
DIRS += pv
|
||||
DIRS += factory
|
||||
DIRS += test
|
||||
|
||||
13
pvDataApp/misc/Makefile
Normal file
13
pvDataApp/misc/Makefile
Normal 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
|
||||
|
||||
@@ -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
32
pvDataApp/pv/convert.h
Normal 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 */
|
||||
Reference in New Issue
Block a user