1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil -*- */ 24 25 #include "WW8FibData.hxx" 26 27 namespace ww8 28 { WW8FibData()29WW8FibData::WW8FibData() 30 : m_bReadOnlyRecommended(false), 31 m_bWriteReservation(false) 32 { 33 } 34 ~WW8FibData()35WW8FibData::~WW8FibData() 36 { 37 } 38 setReadOnlyRecommended(bool bReadOnlyRecommended)39void WW8FibData::setReadOnlyRecommended(bool bReadOnlyRecommended) 40 { 41 m_bReadOnlyRecommended = bReadOnlyRecommended; 42 } 43 setWriteReservation(bool bWriteReservation)44void WW8FibData::setWriteReservation(bool bWriteReservation) 45 { 46 m_bWriteReservation = bWriteReservation; 47 } 48 getReadOnlyRecommended() const49bool WW8FibData::getReadOnlyRecommended() const 50 { 51 return m_bReadOnlyRecommended; 52 } 53 getWriteReservation() const54bool WW8FibData::getWriteReservation() const 55 { 56 return m_bWriteReservation; 57 } 58 } 59