Mercurial > hg > piper-cpp
comparison utilities/vampipe-convert.cpp @ 30:eb679afcd1bb
Comment for the future!
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Tue, 24 May 2016 15:38:50 +0100 |
parents | 7062a3bebaa3 |
children | b376ab0ce003 |
comparison
equal
deleted
inserted
replaced
29:7062a3bebaa3 | 30:eb679afcd1bb |
---|---|
125 throw VampJson::Failure("object expected for content field"); | 125 throw VampJson::Failure("object expected for content field"); |
126 } | 126 } |
127 return j; | 127 return j; |
128 } | 128 } |
129 | 129 |
130 //!!! Lots of potential for refactoring the conversion classes based | |
131 //!!! on the common matter in the following eight functions... | |
132 | |
130 RequestOrResponse | 133 RequestOrResponse |
131 readRequestJson() | 134 readRequestJson() |
132 { | 135 { |
133 RequestOrResponse rr; | 136 RequestOrResponse rr; |
134 rr.direction = RequestOrResponse::Request; | 137 rr.direction = RequestOrResponse::Request; |