lets see how we can do this
This commit is contained in:
parent
045054fce0
commit
69fd6d0f6a
@ -1,4 +1,4 @@
|
||||
target_sources(
|
||||
${LIB_FSFW_NAME}
|
||||
PRIVATE SourceHandler.cpp DestHandler.cpp MetadataParser.cpp
|
||||
PutRequestReader.cpp FaultHandlerBase.cpp UserBase.cpp)
|
||||
PutRequest.cpp FaultHandlerBase.cpp UserBase.cpp)
|
||||
|
@ -9,6 +9,7 @@ class MetadataParser {
|
||||
explicit MetadataParser(MetadataPduReader& reader);
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
} // namespace cfdp
|
5
src/fsfw/cfdp/handler/PutRequest.cpp
Normal file
5
src/fsfw/cfdp/handler/PutRequest.cpp
Normal file
@ -0,0 +1,5 @@
|
||||
#include "PutRequest.h"
|
||||
|
||||
[[nodiscard]] bool cfdp::PutRequest::isMetadataOnly() const {
|
||||
return !destNameSize.has_value() and !sourceNameSize.has_value();
|
||||
}
|
@ -21,9 +21,7 @@ class PutRequest {
|
||||
std::vector<MessageToUserTlv> messagesToUser;
|
||||
std::vector<FilestoreRequestTlv> fsRequest;
|
||||
|
||||
[[nodiscard]] bool isMetadataOnly() const {
|
||||
return !destNameSize.has_value() and !sourceNameSize.has_value();
|
||||
}
|
||||
[[nodiscard]] bool isMetadataOnly() const;
|
||||
};
|
||||
|
||||
} // namespace cfdp
|
@ -1 +0,0 @@
|
||||
#include "PutRequestReader.h"
|
Loading…
Reference in New Issue
Block a user